From cd739c3daa8ec221bd614fcd299a93781998a1b3 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Tue, 1 May 2018 23:53:38 +0000 Subject: [PATCH] Remove unused `assert_like` from `Arel::Test` It had been added at https://github.com/rails/arel/commit/05b5bb12270b32e094c1c879273e0978dabe5b3b and removed at https://github.com/rails/arel/commit/db1bb4e9a728a437d16f8bdb48c3b772c3e4edb0 --- activerecord/test/cases/arel/helper.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/activerecord/test/cases/arel/helper.rb b/activerecord/test/cases/arel/helper.rb index ec08df316c..f8ce658440 100644 --- a/activerecord/test/cases/arel/helper.rb +++ b/activerecord/test/cases/arel/helper.rb @@ -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