diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-04-18 23:15:42 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-04-18 23:15:42 +0530 |
commit | 03042b04764cdb6e49b92cff6462470906a6e9d9 (patch) | |
tree | da68b360969a5d4a60fefb23280137830756c29e /activerecord/test | |
parent | c2fa85f48124fe69a420139360d1369016296e62 (diff) | |
download | rails-03042b04764cdb6e49b92cff6462470906a6e9d9.tar.gz rails-03042b04764cdb6e49b92cff6462470906a6e9d9.tar.bz2 rails-03042b04764cdb6e49b92cff6462470906a6e9d9.zip |
remove warning
`warning: ambiguous first argument; put parentheses or even spaces`
Diffstat (limited to 'activerecord/test')
-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 |