Skip to content

Commit 01e8125

Browse files
committed
Correct spec text
1 parent d60f533 commit 01e8125

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/oauth2/mac_token_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
end
7070

7171
it 'passes URI::InvalidURIError through' do
72+
expect { subject.header('get', '\\') }.to raise_error(URI::InvalidURIError)
73+
end
74+
75+
it 'passes ArgumentError with nil url' do
7276
expect { subject.header('get', nil) }.to raise_error(ArgumentError)
7377
end
7478

0 commit comments

Comments
 (0)