aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_to_sql.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2014-05-31 23:22:51 +0530
committerVipul A M <vipulnsward@gmail.com>2014-05-31 23:28:54 +0530
commit75de31a7f315512ade55b7d376fda8a7d5d393ff (patch)
treec792def0c1de0c2c6a9eecdced5cb3b2a876dc33 /test/visitors/test_to_sql.rb
parent4ffc147fa63ae6c554e151a8407d3ea0ad0a717b (diff)
downloadrails-75de31a7f315512ade55b7d376fda8a7d5d393ff.tar.gz
rails-75de31a7f315512ade55b7d376fda8a7d5d393ff.tar.bz2
rails-75de31a7f315512ade55b7d376fda8a7d5d393ff.zip
- Fix ambiguous argument warning
- Fix typo: `test_opertaion_ordering` => `test_operation_ordering`
Diffstat (limited to 'test/visitors/test_to_sql.rb')
-rw-r--r--test/visitors/test_to_sql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb
index 65d36bc004..a88c888908 100644
--- a/test/visitors/test_to_sql.rb
+++ b/test/visitors/test_to_sql.rb
@@ -249,7 +249,7 @@ module Arel
it "unsupported input should not raise ArgumentError" do
error = assert_raises(RuntimeError) { compile(nil) }
- assert_match /\Aunsupported/, error.message
+ assert_match(/\Aunsupported/, error.message)
end
it "should visit_Arel_SelectManager, which is a subquery" do