We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0fb9d2 commit 71055b9Copy full SHA for 71055b9
spec/slack-ruby-bot-server/app_spec.rb
@@ -17,6 +17,7 @@
17
context 'when connection cannot be established' do
18
context 'with ActiveRecord >= 7.2' do
19
before do
20
+ skip 'incorrect database adapter' unless ENV['DATABASE_ADAPTER'] == 'activerecord'
21
skip 'incorrect ActiveRecord version' if ActiveRecord.version < Gem::Version.new('7.2')
22
23
# Make sure ActiveRecord is not connected in any way before the spec starts
@@ -35,6 +36,7 @@
35
36
37
context 'with ActiveRecord < 7.2' do
38
39
40
skip 'incorrect ActiveRecord version' if ActiveRecord.version >= Gem::Version.new('7.2')
41
end
42
0 commit comments