aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-12-02 14:01:08 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-02 14:01:08 -0800
commitbaa660f62b4fae9197d7b4b6e4bbcf4059d106a8 (patch)
tree9757fa9803cd4035450f2efe1196cfa8afd4f875 /test/helper.rb
parent39ccb8049c87b1fde1b85c6a0d84e0f72e92bac1 (diff)
downloadrails-baa660f62b4fae9197d7b4b6e4bbcf4059d106a8.tar.gz
rails-baa660f62b4fae9197d7b4b6e4bbcf4059d106a8.tar.bz2
rails-baa660f62b4fae9197d7b4b6e4bbcf4059d106a8.zip
deprecating "insert"
Diffstat (limited to 'test/helper.rb')
-rw-r--r--test/helper.rb2
1 files changed, 1 insertions, 1 deletions
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