Sha256: 126ce841a91e62b784bae5d39338c5ab41d79767d2eaf8b1d30e7892e89327c1

Contents?: true

Size: 287 Bytes

Versions: 17

Compression:

Stored size: 287 Bytes

Contents

require 'rspec/mocks'

World(RSpec::Mocks::ExampleMethods)

Before do
  if RSpec::Mocks::Version::STRING.split('.').first.to_i > 2
    RSpec::Mocks.setup
  else
    RSpec::Mocks.setup(self)
  end
end

After do
  begin
    RSpec::Mocks.verify
  ensure
    RSpec::Mocks.teardown
  end
end

Version data entries

17 entries across 15 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/lib/cucumber/rspec/doubles.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/lib/cucumber/rspec/doubles.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/lib/cucumber/rspec/doubles.rb
cucumber-1.3.20 lib/cucumber/rspec/doubles.rb
cucumber-1.3.19 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.rc.4 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.rc.3 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.rc.2 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.rc.1 lib/cucumber/rspec/doubles.rb
cucumber-1.3.18 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.beta.5 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.beta.4 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.beta.3 lib/cucumber/rspec/doubles.rb
cucumber-1.3.17 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.beta.2 lib/cucumber/rspec/doubles.rb
cucumber-2.0.0.beta.1 lib/cucumber/rspec/doubles.rb
cucumber-1.3.16 lib/cucumber/rspec/doubles.rb