Sha256: 0e754a1765cfe16d027741c392060736d5d16001403ae983d3b6121dfa407de1
Contents?: true
Size: 834 Bytes
Versions: 14
Compression:
Stored size: 834 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
14 entries across 11 versions & 4 rubygems