Sha256: 1f571791444606a3cd385ef29b3f7dd6c2b1fe122782963991e70379867b0e1d
Contents?: true
Size: 528 Bytes
Versions: 39
Compression:
Stored size: 528 Bytes
Contents
RSpec.configure do |rspec| # Delay this in order to give users a chance to configure `expect_with`... rspec.before(:suite) do if defined?(RSpec::Matchers) && RSpec::Matchers.configuration.respond_to?(:syntax) && # RSpec 4 dropped support for monkey-patching `should` syntax RSpec::Matchers.configuration.syntax.include?(:should) && defined?(ActiveRecord::Associations) RSpec::Matchers.configuration.add_should_and_should_not_to ActiveRecord::Associations::CollectionProxy end end end
Version data entries
39 entries across 36 versions & 7 rubygems