Sha256: 6b1a630aef64feb8921d1d7051fcebfd5031794ebe22d660eae951efe80add1d

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

require 'bogus'

RSpec.configure do |config|
  config.extend Bogus::RSpecExtensions
  config.include Bogus::MockingDSL

  config.mock_with Bogus::RSpecAdapter

  if RSpec::Core::Version::STRING >= "2.14"
    config.backtrace_exclusion_patterns << Regexp.new("lib/bogus")
  else
    config.backtrace_clean_patterns << Regexp.new("lib/bogus")
  end

  config.after(:suite) do
    Bogus.reset!
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bogus-0.1.7 lib/bogus/rspec.rb
bogus-0.1.6 lib/bogus/rspec.rb
bogus-0.1.5 lib/bogus/rspec.rb
bogus-0.1.4 lib/bogus/rspec.rb
bogus-0.1.3 lib/bogus/rspec.rb