aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-05-31 15:05:14 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-05-31 15:05:14 -0300
commit577c4866871abaa60d89e8a8a4cb8bdf29bb52fb (patch)
treec792def0c1de0c2c6a9eecdced5cb3b2a876dc33 /test/visitors
parent4ffc147fa63ae6c554e151a8407d3ea0ad0a717b (diff)
parent75de31a7f315512ade55b7d376fda8a7d5d393ff (diff)
downloadrails-577c4866871abaa60d89e8a8a4cb8bdf29bb52fb.tar.gz
rails-577c4866871abaa60d89e8a8a4cb8bdf29bb52fb.tar.bz2
rails-577c4866871abaa60d89e8a8a4cb8bdf29bb52fb.zip
Merge pull request #280 from vipulnsward/fix-ambiguous-warning
Fix warning and typo in test method name
Diffstat (limited to 'test/visitors')
-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