diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_select_manager.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_select_manager.rb b/test/test_select_manager.rb index 2b88022ca3..672b5ea78d 100644 --- a/test/test_select_manager.rb +++ b/test/test_select_manager.rb @@ -277,6 +277,11 @@ module Arel end end + it 'should hand back froms' do + relation = Arel::SelectManager.new Table.engine + assert_equal [], relation.froms + end + it 'should create join nodes' do relation = Arel::SelectManager.new Table.engine join = relation.create_join 'foo', 'bar', 'baz' |