Sha256: 4a54f2400a1041ec9fdfca92f6c2e02ac3940e534891f604e7d92d077b6be2e8
Contents?: true
Size: 358 Bytes
Versions: 27
Compression:
Stored size: 358 Bytes
Contents
ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' RSpec.configure do |config| end 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
27 entries across 27 versions & 1 rubygems