Sha256: 7af539b309dabca3dded0ede908574df84b9f98b708c5a19222f8bb6bea082cd

Contents?: true

Size: 833 Bytes

Versions: 22

Compression:

Stored size: 833 Bytes

Contents

# :enddoc:

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

if defined?(::ActionController)
  require 'shoulda/matchers/action_controller'
  module RSpec
    module Rails
      module ControllerExampleGroup
        include Shoulda::Matchers::ActionController
      end
    end
  end
end

if defined?(::ActionMailer)
  require 'shoulda/matchers/action_mailer'
  module RSpec
    module Rails
      module MailerExampleGroup
        include Shoulda::Matchers::ActionMailer
      end
    end
  end
end

Version data entries

22 entries across 14 versions & 3 rubygems

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.4.1/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.2.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.4.1/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.8.3 vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.8.3 vendor/bundle/gems/shoulda-matchers-1.4.1/lib/shoulda/matchers/integrations/rspec.rb
shoulda-matchers-1.4.1 lib/shoulda/matchers/integrations/rspec.rb
shoulda-matchers-1.4.0 lib/shoulda/matchers/integrations/rspec.rb
challah-0.8.1 vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.1.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-rolls-0.1.0 vendor/bundle/gems/shoulda-matchers-1.3.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.8.0.pre vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
shoulda-matchers-1.3.0 lib/shoulda/matchers/integrations/rspec.rb
challah-0.7.1 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.7.0 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.7.0.pre2 vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb
challah-0.7.0.pre vendor/bundle/gems/shoulda-matchers-1.2.0/lib/shoulda/matchers/integrations/rspec.rb