diff options
Diffstat (limited to 'spec/arel')
-rw-r--r-- | spec/arel/visitors/to_sql_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/arel/visitors/to_sql_spec.rb b/spec/arel/visitors/to_sql_spec.rb index 9807c89b3a..80f1e59664 100644 --- a/spec/arel/visitors/to_sql_spec.rb +++ b/spec/arel/visitors/to_sql_spec.rb @@ -8,6 +8,10 @@ module Arel @attr = Table.new(:users)[:id] end + it "should visit_Date" do + @visitor.accept Date.today + end + it "should visit_Arel_Nodes_And" do node = Nodes::And.new @attr.eq(10), @attr.eq(11) @visitor.accept(node).should be_like %{ |