spec/spec_helper.rb in resque-scheduler-web-0.0.2 vs spec/spec_helper.rb in resque-scheduler-web-0.0.3
- old
+ new
@@ -2,13 +2,14 @@
CodeClimate::TestReporter.start
ENV['RAILS_ENV'] = 'test'
require 'resque'
-
require 'resque-scheduler'
+require_relative 'support/functions'
+
Resque::Scheduler.configure do |c|
c.quiet = true
end
unless ENV['RESQUE_SCHEDULER_DISABLE_TEST_REDIS_SERVER']
@@ -91,5 +92,6 @@
end
def resque_scheduler_engine_routes
ResqueWeb::Plugins::ResqueScheduler::Engine.app.url_helpers
end
+