test/functional/restart_base.rb in ruote-2.2.0 vs test/functional/restart_base.rb in ruote-2.3.0
- old
+ new
@@ -10,25 +10,23 @@
def setup
@tracer = Tracer.new
end
def teardown
- @engine.shutdown
+ @dashboard.shutdown
@storage.purge!
end
protected
def start_new_engine
- @storage = determine_storage(
- 's_logger' => [ 'ruote/log/test_logger', 'Ruote::TestLogger' ],
- :persistent => true)
+ @storage = determine_storage(:persistent => true)
- @engine = Ruote::Engine.new(Ruote::Worker.new(@storage))
+ @dashboard = Ruote::Engine.new(Ruote::Worker.new(@storage))
#@tracer.clear
- @engine.add_service('tracer', @tracer)
+ @dashboard.add_service('tracer', @tracer)
end
end