diff options
Diffstat (limited to 'spec/arel/visitors')
-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 39d7a7249c..ed8487c6eb 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_DateTime" do + @visitor.accept DateTime.now + end + it "should visit_Float" do @visitor.accept 2.14 end |