Sha256: 9f028133cf377752a8755f41652da38723d260465e1173ff82ef444f42e8b426
Contents?: true
Size: 788 Bytes
Versions: 13
Compression:
Stored size: 788 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
13 entries across 13 versions & 1 rubygems