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 f8327b02f6..c8bfb845c1 100644 --- a/spec/arel/visitors/to_sql_spec.rb +++ b/spec/arel/visitors/to_sql_spec.rb @@ -23,6 +23,10 @@ module Arel @visitor.accept 2.14 end + it "should visit_Hash" do + @visitor.accept({:a => 1}) + end + it "should visit_BigDecimal" do @visitor.accept BigDecimal.new('2.14') end |