Sha256: eb2a597c9181effd417853e2f0074e6f1ca67286c47b3d007db640ece93e4b84

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

class TestEnvironment
  def self.launch
    env = new
    env.start
    at_exit { env.stop }
  end

  def initialize
    @rabbit = RabbitControl.new
  end

  def start
    @rabbit.start
  end

  def stop
    @rabbit.stop
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cukeq-0.0.1.dev5 features/support/test_environment.rb
cukeq-0.0.1.dev4 features/support/test_environment.rb
cukeq-0.0.1.dev3 features/support/test_environment.rb
cukeq-0.0.1.dev2 features/support/test_environment.rb