1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #32787 from yahonda/remove_assert_like

Remove unused `assert_like` from `Arel::Test`
This commit is contained in:
Rafael França 2018-05-01 23:24:42 -04:00 committed by GitHub
commit e9f434d3aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,6 @@ module Arel
Arel::Table.engine = @arel_engine if defined? @arel_engine
super
end
def assert_like(expected, actual)
assert_equal expected.gsub(/\s+/, " ").strip,
actual.gsub(/\s+/, " ").strip
end
end
class Spec < Minitest::Spec