Skip to content

Commit 65d3aec

Browse files
authored
chore: add small test to check if adapter support advisory_locks natively (#96)
1 parent f818a18 commit 65d3aec

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
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)