Sha256: af530d71759ce298d93d9cbc34752d101545219c2654786534ccd5552b966f3a
Contents?: true
Size: 550 Bytes
Versions: 9
Compression:
Stored size: 550 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 it "adds advisory_lock_exists? to ActiveRecord classes" do assert Tag.respond_to?(:advisory_lock_exists?) end it "adds advisory_lock_exists? to ActiveRecord classes" do assert Label.new.respond_to?(:advisory_lock_exists?) end end
Version data entries
9 entries across 9 versions & 1 rubygems