spec/integration/mongoid/commands_spec.rb in mongoid-1.2.6 vs spec/integration/mongoid/commands_spec.rb in mongoid-1.2.7
- old
+ new
@@ -198,18 +198,18 @@
end
describe ".delete_all" do
it "returns true" do
- Person.delete_all.should be_true
+ Person.delete_all.should == true
end
end
describe ".destroy_all" do
it "returns true" do
- Person.destroy_all.should be_true
+ Person.destroy_all.should == true
end
end
end