We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a0e54f commit 7e074d1Copy full SHA for 7e074d1
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/)
1876
end
1877
1878
it "should not raise error if cursor is closed inside block" do
0 commit comments