spec/initialise_spec.rb in mongo-lock-1.1.4 vs spec/initialise_spec.rb in mongo-lock-1.2.0
- old
+ new
@@ -1,8 +1,10 @@
require 'spec_helper'
describe Mongo::Lock do
+ configure_for_mongo
+
describe '#initialise' do
let(:lock) { Mongo::Lock.new 'my_lock', owner: 'spence', timeout_in: 0.01, frequency: 0.01 }
it "creates a new configuration object" do