Sha256: 012149fede873afa1dbcaff35a5c7df0ebf05b843f09296f82299eb3fee241c2
Contents?: true
Size: 455 Bytes
Versions: 66
Compression:
Stored size: 455 Bytes
Contents
require 'spec_helper' describe CurationConcerns::LockManager do subject { described_class.new(CurationConcerns.config.lock_time_to_live, CurationConcerns.config.lock_retry_count, CurationConcerns.config.lock_retry_delay) } describe "lock", unless: $in_travis do it "calls the block" do expect { |probe| subject.lock('foobar', &probe) }.to yield_with_no_args end end end
Version data entries
66 entries across 66 versions & 1 rubygems