aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 20:34:08 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 20:34:08 -0300
commitc7ca1568013d244b9c61147b20b4424d741e91ac (patch)
tree9c9fb88fbf13bd545d9d6e1e42e8227f2d817b1b /test
parentb91dcb23af5917d8a62afc8a5a72780aaf11f64b (diff)
parent0e1dd3d490a50b94880e3b81a132732bc674d26a (diff)
downloadrails-c7ca1568013d244b9c61147b20b4424d741e91ac.tar.gz
rails-c7ca1568013d244b9c61147b20b4424d741e91ac.tar.bz2
rails-c7ca1568013d244b9c61147b20b4424d741e91ac.zip
Merge pull request #362 from caldwecr/master
Fix a typo in the sql literal spec for grouped "and" equality
Diffstat (limited to 'test')
-rw-r--r--test/nodes/test_sql_literal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nodes/test_sql_literal.rb b/test/nodes/test_sql_literal.rb
index ed602cc47d..c09e5882d5 100644
--- a/test/nodes/test_sql_literal.rb
+++ b/test/nodes/test_sql_literal.rb
@@ -56,7 +56,7 @@ module Arel
end
describe 'grouped "and" equality' do
- it 'makes a grouping node with an or node' do
+ it 'makes a grouping node with an and node' do
node = SqlLiteral.new('foo').eq_all([1,2])
compile(node).must_be_like %{ (foo = 1 AND foo = 2) }
end