Skip to content

Commit a4665b6

Browse files
author
Laurynas Butkus
committed
Fix spec
1 parent 0bcb1d4 commit a4665b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/convert_api_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,14 @@
102102

103103
it 'with invalid secret' do
104104
described_class.config.api_secret = 'invalid'
105-
described_class.config.token = 'invalid'
105+
described_class.config.token = nil
106106

107107
expect { subject }.to raise_error(ConvertApi::ClientError)
108108
end
109109

110110
it 'with invalid token' do
111111
described_class.config.token = 'invalid'
112+
described_class.config.api_secret = nil
112113

113114
expect { subject }.to raise_error(ConvertApi::ClientError)
114115
end

0 commit comments

Comments
 (0)