Sha256: 0b9ae064d67441f38583edceb193a00cca1aaf110d2e4552549ec78fc39b5569

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true
require 'rspec/mocks'

World(RSpec::Mocks::ExampleMethods)

Before do
  if RSpec::Mocks::Version::STRING >= '2.9.9'
    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

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-3.1.0 lib/cucumber/rspec/doubles.rb
cucumber-3.0.2 lib/cucumber/rspec/doubles.rb
cucumber-3.0.1 lib/cucumber/rspec/doubles.rb
cucumber-3.0.0 lib/cucumber/rspec/doubles.rb
cucumber-3.0.0.pre.2 lib/cucumber/rspec/doubles.rb