Sha256: f499067150e6188ca16104fdc5666f34304dfc801681fe2db3952f67a5a71a29

Contents?: true

Size: 603 Bytes

Versions: 1

Compression:

Stored size: 603 Bytes

Contents

# :enddoc:

if defined?(::ActiveRecord)
  require 'shoulda/matchers/active_record'
  module RSpec::Matchers
    include Shoulda::Matchers::ActiveRecord
  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

1 entries across 1 versions & 1 rubygems

Version Path
shoulda-matchers-1.0.0.beta2 lib/shoulda/matchers/integrations/rspec.rb