aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/nodes/test_infix_operation.rb2
-rw-r--r--test/visitors/test_to_sql.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/nodes/test_infix_operation.rb b/test/nodes/test_infix_operation.rb
index bec226e395..40616024e5 100644
--- a/test/nodes/test_infix_operation.rb
+++ b/test/nodes/test_infix_operation.rb
@@ -18,7 +18,7 @@ module Arel
assert_equal 'zomg', aliaz.right
end
- def test_opertaion_ordering
+ def test_operation_ordering
operation = InfixOperation.new :+, 1, 2
ordering = operation.desc
assert_kind_of Descending, ordering
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