Skip to content

Commit 7e074d1

Browse files
committed
Resolved warning on raise_error without specifying error in mind.
1 parent 7a0e54f commit 7e074d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/plsql/procedure_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ def new_candidate(status)
18721872
expect(plsql.test_cursor do |cursor|
18731873
cursor2 = cursor
18741874
end).to be_nil
1875-
expect { cursor2.fetch }.to raise_error
1875+
expect { cursor2.fetch }.to raise_error(/Cursor was already closed/)
18761876
end
18771877

18781878
it "should not raise error if cursor is closed inside block" do

0 commit comments

Comments
 (0)