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