diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-04-18 19:47:16 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-04-18 19:47:16 +0200 |
commit | 98e8c96d42052dd74310aa95102c55f3762becce (patch) | |
tree | da68b360969a5d4a60fefb23280137830756c29e /activerecord/test/cases | |
parent | c2fa85f48124fe69a420139360d1369016296e62 (diff) | |
parent | 03042b04764cdb6e49b92cff6462470906a6e9d9 (diff) | |
download | rails-98e8c96d42052dd74310aa95102c55f3762becce.tar.gz rails-98e8c96d42052dd74310aa95102c55f3762becce.tar.bz2 rails-98e8c96d42052dd74310aa95102c55f3762becce.zip |
Merge pull request #14798 from kuldeepaggarwal/fix-warning
remove warning while running TEST CASES
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/sanitize_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/sanitize_test.rb b/activerecord/test/cases/sanitize_test.rb index c7cc214c3f..dca85fb5eb 100644 --- a/activerecord/test/cases/sanitize_test.rb +++ b/activerecord/test/cases/sanitize_test.rb @@ -74,7 +74,7 @@ class SanitizeTest < ActiveRecord::TestCase end end - assert_sql /LIKE '20!% !_reduction!_!!'/ do + assert_sql(/LIKE '20!% !_reduction!_!!'/) do searchable_post.search("20% _reduction_!").to_a end end |