spec/user_spec.rb in closure_tree-4.2.9 vs spec/user_spec.rb in closure_tree-4.3.0
- old
+ new
@@ -1,13 +1,8 @@
require 'spec_helper'
describe "empty db" do
- before :each do
- ReferralHierarchy.delete_all
- User.delete_all
- end
-
context "empty db" do
it "should return no entities" do
User.roots.should be_empty
User.leaves.should be_empty
end