Sha256: 4b71c1344516fed96564bf6103b550519316637d149b01aed1eb958310bbe61f
Contents?: true
Size: 786 Bytes
Versions: 6
Compression:
Stored size: 786 Bytes
Contents
# :enddoc: require 'rspec/core' RSpec.configure do |config| require 'shoulda/matchers/independent' config.include Shoulda::Matchers::Independent if defined?(::ActiveRecord) require 'shoulda/matchers/active_record' require 'shoulda/matchers/active_model' config.include Shoulda::Matchers::ActiveRecord config.include Shoulda::Matchers::ActiveModel elsif defined?(::ActiveModel) require 'shoulda/matchers/active_model' config.include Shoulda::Matchers::ActiveModel end if defined?(::ActionController) require 'shoulda/matchers/action_controller' config.include Shoulda::Matchers::ActionController end if defined?(::ActionMailer) require 'shoulda/matchers/action_mailer' config.include Shoulda::Matchers::ActionMailer end end
Version data entries
6 entries across 6 versions & 2 rubygems