Skip to content

Commit ed3c705

Browse files
committed
Merge pull request #75 from KevinSjoberg/fix/warning-for-generic-raise-error-test
Fix warning message for `.raise_error` matcher
2 parents 8345598 + 60b8e0b commit ed3c705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
end
136136

137137
it "should fail on bad urls" do
138-
expect { @client.url = "gopher/somekey:somesecret@://api.staging.pusherapp.co://m:8080\apps\87" }.to raise_error
138+
expect { @client.url = "gopher/somekey:somesecret@://api.staging.pusherapp.co://m:8080\apps\87" }.to raise_error(URI::InvalidURIError)
139139
end
140140
end
141141

0 commit comments

Comments
 (0)