Skip to content

Commit

Permalink
Add one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
yuga-cb committed May 15, 2024
1 parent e9209cb commit e8d92b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/unit/coinbase/address_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
it 'sets the key' do
expect { unhydrated_address.key = key }.not_to raise_error
end

it 'raises an error if the key is already set' do
expect { address.key = key }.to raise_error('Private key is already set')
end
end

describe '#balance' do
Expand Down

0 comments on commit e8d92b5

Please sign in to comment.