Skip to content

Commit 14c40fc

Browse files
committed
chore: add small test to check if adapter support advisory_locks natively (#96)
1 parent 8769c65 commit 14c40fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/with_advisory_lock/base_test.rb

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require 'test_helper'
2+
3+
class WithAdvisoryLockBaseTest < GemTestCase
4+
test 'should support advisory_locks_enabled' do
5+
skip if is_sqlite3_adapter?
6+
7+
assert Tag.connection.advisory_locks_enabled?
8+
end
9+
end

0 commit comments

Comments
 (0)