Sha256: e3606b5ebcb286719c7e2dd10b7174ae225c614ef3e9875423e242b59f82081f

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

require 'proletariat/testing'

# Mix testing helpers into World.
World(Proletariat::Testing)

# Hide logs by default.
AfterConfiguration do |_|
  Proletariat.configure do
    config.logger = Logger.new('/dev/null')
  end

  Proletariat.purge
end

# Ensure Proletariat running before each test.
Before do
  Proletariat.run! unless Proletariat.running?
end

# Stop workers and purge queues between scenarios.
After do
  Proletariat.stop
  Proletariat.purge
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
proletariat-0.0.6 lib/proletariat/cucumber.rb
proletariat-0.0.5 lib/proletariat/cucumber.rb
proletariat-0.0.4 lib/proletariat/cucumber.rb
proletariat-0.0.3 lib/proletariat/cucumber.rb