Sha256: 30c91ee23ef7e39688948f7dc28355052b1b07368216028abd042f973a9382b1

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

require 'minitest_helper'

describe "with_advisory_lock.concern" do
  it "adds with_advisory_lock to ActiveRecord classes" do
    assert Tag.respond_to?(:with_advisory_lock)
  end

  it "adds with_advisory_lock to ActiveRecord instances" do
    assert Label.new.respond_to?(:with_advisory_lock)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
with_advisory_lock-0.0.10 test/concern_test.rb
with_advisory_lock-0.0.9 test/concern_test.rb
with_advisory_lock-0.0.8 test/concern_test.rb
with_advisory_lock-0.0.7 test/concern_test.rb
with_advisory_lock-0.0.6 test/concern_test.rb
with_advisory_lock-0.0.5 test/concern_test.rb