From 75de31a7f315512ade55b7d376fda8a7d5d393ff Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sat, 31 May 2014 23:22:51 +0530 Subject: - Fix ambiguous argument warning - Fix typo: `test_opertaion_ordering` => `test_operation_ordering` --- test/visitors/test_to_sql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/visitors/test_to_sql.rb') 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 -- cgit v1.2.3