Skip to content

Commit

Permalink
[from now] 2024/09/22 19:56:49
Browse files Browse the repository at this point in the history
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
  • Loading branch information
yahonda committed Sep 22, 2024
1 parent b8821cf commit c63c32e
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 c63c32e

Please sign in to comment.