From baa660f62b4fae9197d7b4b6e4bbcf4059d106a8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 2 Dec 2010 14:01:08 -0800 Subject: deprecating "insert" --- test/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/helper.rb') diff --git a/test/helper.rb b/test/helper.rb index 3f9ac22447..f13596f9ec 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -8,6 +8,6 @@ Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new) class Object def must_be_like other - self.gsub(/\s+/, ' ').strip.must_equal other.gsub(/\s+/, ' ').strip + gsub(/\s+/, ' ').strip.must_equal other.gsub(/\s+/, ' ').strip end end -- cgit v1.2.3