Skip to content

Commit

Permalink
Merge pull request #2393 from yahonda/skip_them
Browse files Browse the repository at this point in the history
Skip specs correctly if `DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH` set to true
  • Loading branch information
yahonda committed Sep 22, 2024
2 parents b054c76 + 1068ac4 commit bb97edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/active_record/oracle_enhanced/type/timestamp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
include SchemaSpecHelper

before(:all) do
skip if ENV["DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH"] == "true"
if ENV["DATABASE_VERSION"] == "11.2.0.2" && ENV["ORACLE_HOME"] == "/usr/lib/oracle/21/client64"
skip
end
Expand Down Expand Up @@ -35,7 +36,6 @@
end

describe "/ TIMESTAMP WITH TIME ZONE values from ActiveRecord model" do
skip if ENV["DATABASE_SERVER_AND_CLIENT_VERSION_DO_NOT_MATCH"] == "true"
before(:all) do
class ::TestEmployee < ActiveRecord::Base
end
Expand Down

0 comments on commit bb97edc

Please sign in to comment.