You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

doubles.rb 283 B

2 years ago
12345678910111213141516171819
  1. # frozen_string_literal: true
  2. require 'rspec/mocks'
  3. World(RSpec::Mocks::ExampleMethods)
  4. Before do
  5. if RSpec::Mocks::Version::STRING >= '2.9.9'
  6. RSpec::Mocks.setup
  7. else
  8. RSpec::Mocks.setup(self)
  9. end
  10. end
  11. After do
  12. RSpec::Mocks.verify
  13. ensure
  14. RSpec::Mocks.teardown
  15. end

No Description

Contributors (1)