spec/spec_helper.rb in mongo-lock-1.1.0 vs spec/spec_helper.rb in mongo-lock-1.1.1
- old
+ new
@@ -23,10 +23,11 @@
include MongoHelper
config.before :each do
database.drop_collection("locks")
database.drop_collection("other_locks")
- Mongo::Lock.configure collection: collection
+ database.drop_collection("another_locks")
+ Mongo::Lock.configure collection: my_collection
end
config.after :each do
end