Sha256: 30b40a973898573d2c7f86bc379d6413a3fdcf8a56107ea823e6472fd1826878
Contents?: true
Size: 385 Bytes
Versions: 2
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fomantic-ui-sass-2.9.3.2 | spec/spec_helper.rb |
fomantic-ui-sass-2.9.3.1 | spec/spec_helper.rb |