Sha256: 50261ae82233b3d19e443c95828f36095fec6a6f6bfacb4fe629dd2b26cd755e
Contents?: true
Size: 354 Bytes
Versions: 24
Compression:
Stored size: 354 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require File.expand_path('dummy/config/environment', __dir__) require 'rspec/rails' RSpec.configure(&:infer_spec_type_from_file_location!) def normalize(str) str.split("\n").map(&:strip).join('') end RSpec::Matchers.define :like_of do |expected| match do |actual| normalize(actual) == normalize(expected) end end
Version data entries
24 entries across 24 versions & 1 rubygems