spec/release_spec.rb in mongo-lock-1.0.0 vs spec/release_spec.rb in mongo-lock-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Mongo::Lock do
- let(:lock) { Mongo::Lock.acquire('my_lock', owner: 'spence', expires_after: 0.1.seconds, timeout_in: 0.01, frequency: 0.01) }
+ let(:lock) { Mongo::Lock.acquire('my_lock', owner: 'spence', expire_in: 0.1.seconds, timeout_in: 0.01, frequency: 0.01) }
describe '.release' do
it "creates a new Mongo::Lock instance" do
lock