Sha256: 3616842a1816f452e84abcc3eb1b40e33f9b4ad1d7f911b17e9e15b1b7b25ec8

Contents?: true

Size: 343 Bytes

Versions: 12

Compression:

Stored size: 343 Bytes

Contents

# :enddoc:

if defined?(::ActiveRecord)
  require 'shoulda/callback/matchers/active_model'
  module RSpec::Matchers
    include Shoulda::Callback::Matchers::ActiveModel
  end
elsif defined?(::ActiveModel)
  require 'shoulda/callback/matchers/active_model'
  module RSpec::Matchers
    include Shoulda::Callback::Matchers::ActiveModel
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
shoulda-callback-matchers-1.1.4 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-1.1.3 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-1.1.2 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-1.1.1 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-1.1.0 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-1.0.0 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.4.0 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.3.3 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.3.1 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.3.0 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.2.0 lib/shoulda/callback/matchers/integrations/rspec.rb
shoulda-callback-matchers-0.1.0 lib/shoulda/callback/matchers/integrations/rspec.rb