Permalink
Browse files

Merge pull request #14798 from kuldeepaggarwal/fix-warning

remove warning while running TEST CASES
  • Loading branch information...
senny committed Apr 18, 2014
2 parents c2fa85f + 03042b0 commit 98e8c96d42052dd74310aa95102c55f3762becce
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/sanitize_test.rb
@@ -74,7 +74,7 @@ def self.search(term)
end
end
- assert_sql /LIKE '20!% !_reduction!_!!'/ do
+ assert_sql(/LIKE '20!% !_reduction!_!!'/) do
searchable_post.search("20% _reduction_!").to_a
end
end

0 comments on commit 98e8c96

Please sign in to comment.