Sha256: 48bcfc2803e7d2bc38355e908ea69008823f0bbbf709ee33a75f471a2dad4b81

Contents?: true

Size: 419 Bytes

Versions: 4

Compression:

Stored size: 419 Bytes

Contents

#
# testing ruote
#
# Wed Jul  1 23:27:49 JST 2009
#

module RestartBase

  def setup
    @tracer = Tracer.new
  end

  def teardown
    @dashboard.shutdown
    @storage.purge!
  end

  protected

  def start_new_engine

    @storage = determine_storage(:persistent => true)

    @dashboard = Ruote::Engine.new(Ruote::Worker.new(@storage))

    #@tracer.clear

    @dashboard.add_service('tracer', @tracer)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruote-2.3.0.3 test/functional/restart_base.rb
ruote-2.3.0.2 test/functional/restart_base.rb
ruote-2.3.0.1 test/functional/restart_base.rb
ruote-2.3.0 test/functional/restart_base.rb