Skip to content

Commit bb97edc

Browse files
authored
Merge pull request #2393 from yahonda/skip_them
Skip specs correctly if `DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH` set to true
2 parents b054c76 + 1068ac4 commit bb97edc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/active_record/oracle_enhanced/type/timestamp_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
include SchemaSpecHelper
55

66
before(:all) do
7+
skip if ENV["DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH"] == "true"
78
if ENV["DATABASE_VERSION"] == "11.2.0.2" && ENV["ORACLE_HOME"] == "/usr/lib/oracle/21/client64"
89
skip
910
end
@@ -35,7 +36,6 @@
3536
end
3637

3738
describe "/ TIMESTAMP WITH TIME ZONE values from ActiveRecord model" do
38-
skip if ENV["DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH"] == "true"
3939
before(:all) do
4040
class ::TestEmployee < ActiveRecord::Base
4141
end

0 commit comments

Comments
 (0)