From c63c32ee73d6d275fa51d2fe94f4bee4e63903bc Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Sun, 22 Sep 2024 19:56:49 +0900 Subject: [PATCH] [from now] 2024/09/22 19:56:49 diff --git a/spec/active_record/oracle_enhanced/type/timestamp_spec.rb b/spec/active_record/oracle_enhanced/type/timestamp_spec.rb index bf2b9f8d..b3bbfd9d 100644 --- a/spec/active_record/oracle_enhanced/type/timestamp_spec.rb +++ b/spec/active_record/oracle_enhanced/type/timestamp_spec.rb @@ -4,6 +4,7 @@ describe "OracleEnhancedAdapter timestamp with timezone support" do 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 @@ -35,7 +36,6 @@ describe "OracleEnhancedAdapter timestamp with timezone support" do 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 --- spec/active_record/oracle_enhanced/type/timestamp_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/active_record/oracle_enhanced/type/timestamp_spec.rb b/spec/active_record/oracle_enhanced/type/timestamp_spec.rb index bf2b9f8df..b3bbfd9dd 100644 --- a/spec/active_record/oracle_enhanced/type/timestamp_spec.rb +++ b/spec/active_record/oracle_enhanced/type/timestamp_spec.rb @@ -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 @@ -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