Skip to content

Commit

Permalink
chore: add small test to check if adapter support advisory_locks nati…
Browse files Browse the repository at this point in the history
…vely (#96)
  • Loading branch information
seuros committed Feb 11, 2024
1 parent 8769c65 commit 14c40fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/with_advisory_lock/base_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'test_helper'

class WithAdvisoryLockBaseTest < GemTestCase
test 'should support advisory_locks_enabled' do
skip if is_sqlite3_adapter?

assert Tag.connection.advisory_locks_enabled?
end
end

0 comments on commit 14c40fc

Please sign in to comment.