Sha256: 0db29904755281831f169e7e6261e618e6fb79888767f77c9dad1c162f8bb522
Contents?: true
Size: 766 Bytes
Versions: 14
Compression:
Stored size: 766 Bytes
Contents
# frozen_string_literal: true RSpec.configure do |config| config.include(Shoulda::Matchers::ActiveModel, :type => :model) config.include(Shoulda::Matchers::ActiveRecord, :type => :model) end Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec end end if defined? ActiveRecord Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :active_record end end end if defined? ActiveModel Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :active_model end end end if defined? ActionController Shoulda::Matchers.configure do |config| config.integrate do |with| with.library :action_controller end end end
Version data entries
14 entries across 14 versions & 1 rubygems