We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e45cb7 + 8b3287e commit d7ea70aCopy full SHA for d7ea70a
1 file changed
spec/plsql/procedure_spec.rb
@@ -1872,7 +1872,7 @@ def new_candidate(status)
1872
expect(plsql.test_cursor do |cursor|
1873
cursor2 = cursor
1874
end).to be_nil
1875
- expect { cursor2.fetch }.to raise_error
+ expect { cursor2.fetch }.to raise_error(/Cursor was already closed|Closed Statement/)
1876
end
1877
1878
it "should not raise error if cursor is closed inside block" do
@@ -2253,6 +2253,14 @@ def new_candidate(status)
2253
2254
2255
describe '#get_argument_metadata' do
2256
+ before(:all) do
2257
+ plsql.connect! CONNECTION_PARAMS
2258
+ end
2259
+
2260
+ after(:all) do
2261
+ plsql.logoff
2262
2263
2264
before(:each) do
2265
plsql.execute <<-SQL
2266
CREATE OR REPLACE FUNCTION magic_number(p_num INTEGER #{defaulted_clause})
0 commit comments