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

Version Path
curation_concerns-0.14.0.pre3 spec/services/lock_manager_spec.rb
curation_concerns-0.14.0.pre2 spec/services/lock_manager_spec.rb
curation_concerns-0.14.0.pre1 spec/services/lock_manager_spec.rb
curation_concerns-0.13.1 spec/services/lock_manager_spec.rb
curation_concerns-0.13.0 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre9 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre8 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre7 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre6 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre5 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre4 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre3 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre2 spec/services/lock_manager_spec.rb
curation_concerns-0.12.0.pre1 spec/services/lock_manager_spec.rb
curation_concerns-0.11.0 spec/services/lock_manager_spec.rb
curation_concerns-0.11.0.rc1 spec/services/lock_manager_spec.rb
curation_concerns-0.10.0 spec/services/lock_manager_spec.rb
curation_concerns-0.9.0 spec/services/lock_manager_spec.rb
curation_concerns-0.8.0 spec/services/lock_manager_spec.rb