File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,4 @@ RuboCop::RakeTask.new
99
1010task default : %i[ spec rubocop ]
1111
12- require_relative "local_playground"
13-
1412require "resque/tasks"
Original file line number Diff line number Diff line change 55
66require "foobara/load_dotenv"
77
8- # TODO: setup boot pattern here
9- # TODO: this is wrong, change to not pass in anything and set the environment elsewhere
10- Foobara ::LoadDotenv . run! ( env : "development" )
8+ Foobara ::LoadDotenv . run!
119
1210require "foobara/resque_connector"
1311
1412if ENV [ "REDIS_URL" ]
1513 Resque . redis = Redis . new ( url : ENV [ "REDIS_URL" ] )
1614else
17- raise NoRedisUrlError ,
18- 'Must set ENV["REDIS_URL"] if trying to initialize RedisCrudDriver with no arguments'
15+ # :nocov:
16+ raise 'Must set ENV["REDIS_URL"] if trying to initialize RedisCrudDriver with no arguments'
17+ # :nocov:
1918end
Original file line number Diff line number Diff line change 1+ ENV [ "FOOBARA_ENV" ] = "test"
2+
13require "bundler/setup"
24
35require "pry"
3032 # config.raise_errors_for_deprecations!
3133end
3234
33- require "foobara/load_dotenv"
34-
35- Foobara ::LoadDotenv . run! ( env : "test" )
36-
37- require "foobara/resque_connector"
3835require "foobara/spec_helpers/all"
36+
37+ require_relative "../local_playground"
You can’t perform that action at this time.
0 commit comments