diff options
Diffstat (limited to 'spec/arel')
-rw-r--r-- | spec/arel/delete_manager_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/arel/delete_manager_spec.rb b/spec/arel/delete_manager_spec.rb index 88d4df061a..74496c58c6 100644 --- a/spec/arel/delete_manager_spec.rb +++ b/spec/arel/delete_manager_spec.rb @@ -38,5 +38,16 @@ module Arel check dm.where(table[:id].eq(10)).should == dm end end + + describe "TreeManager" do + subject do + table = Table.new :users + Arel::DeleteManager.new(Table.engine).tap do |manager| + manager.where(table[:id].eq(10)) + end + end + + it_should_behave_like "TreeManager" + end end end |