Sha256: 4257f6465a9837ddb7da2bc2e0634eac34a7053fa62e771fc0df3475161153d5
Contents?: true
Size: 421 Bytes
Versions: 6
Compression:
Stored size: 421 Bytes
Contents
unless defined?(ActiveModel) raise RuntimeError, "ActiveModel is required to use Warp::ModelMatchers." end # require "warp/model_matchers/error_matcher" require "warp/model_matchers/validation_matcher" if defined?(ActiveRecord) require "warp/model_matchers/association_matcher" require "warp/model_matchers/attribute_matcher" end RSpec.configure do |config| config.include Warp::ModelMatchers, type: :model end
Version data entries
6 entries across 6 versions & 1 rubygems