We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de4e1bd commit b3cfa21Copy full SHA for b3cfa21
spec/em/em_spec.rb
@@ -63,7 +63,7 @@
63
EM.stop_event_loop
64
end
65
66
- }.to raise_error
+ }.to raise_error('some error')
67
68
69
context 'when an exception is raised by the client' do
spec/mysql2/statement_spec.rb
@@ -40,8 +40,7 @@
40
41
it "should raise an exception without a block" do
42
statement = @client.prepare 'SELECT 1'
43
- statement.execute
44
- expect { statement.each }.to raise_error
+ expect { statement.execute.each }.to raise_error(LocalJumpError)
45
46
47
it "should tell us the result count" do
0 commit comments