Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurynas Butkus committed Aug 4, 2024
1 parent 0bcb1d4 commit a4665b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/convert_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,14 @@

it 'with invalid secret' do
described_class.config.api_secret = 'invalid'
described_class.config.token = 'invalid'
described_class.config.token = nil

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

it 'with invalid token' do
described_class.config.token = 'invalid'
described_class.config.api_secret = nil

expect { subject }.to raise_error(ConvertApi::ClientError)
end
Expand Down

0 comments on commit a4665b6

Please sign in to comment.