Skip to content

Commit

Permalink
[from now] 2021/08/03 21:04:43
Browse files Browse the repository at this point in the history
diff --git a/spec/plsql/procedure_spec.rb b/spec/plsql/procedure_spec.rb
index f303978..11e80df 100644
--- a/spec/plsql/procedure_spec.rb
+++ b/spec/plsql/procedure_spec.rb
@@ -1508,6 +1508,7 @@ describe "Parameter type mapping /" do
     end

     describe "using Oracle 9.2" do
+      skip if (@schema.connection.database_version <=> [18, 0, 0, 0]) >= 0
       before do
         # simulate Oracle 9.2 connection
         plsql(:oracle_9).connection = get_connection
  • Loading branch information
yahonda committed Aug 4, 2021
1 parent 01ba003 commit a795ef2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/plsql/procedure_spec.rb
Expand Up @@ -1508,6 +1508,12 @@ def new_candidate(status)
end

describe "using Oracle 9.2" do
before(:all) do
# get actual database_version
plsql.connect! CONNECTION_PARAMS
skip "Skip if the actual database version is 18c or higher" if (plsql.connection.database_version <=> [18, 0, 0, 0]) >= 0
end

before do
# simulate Oracle 9.2 connection
plsql(:oracle_9).connection = get_connection
Expand Down

0 comments on commit a795ef2

Please sign in to comment.