Skip to content

Commit

Permalink
Sanity e2e check for utxo snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed May 31, 2021
1 parent f94657c commit 9149b0a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'cardano_wallet', '~> 0.3.8'
gem 'cardano_wallet', '~> 0.3.9'
# gem 'cardano_wallet', path: "~/wb/cardano_wallet"
gem 'bip_mnemonic', '0.0.4'
gem 'rake', '12.3.3'
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GEM
remote: https://rubygems.org/
specs:
bip_mnemonic (0.0.4)
cardano_wallet (0.3.8)
cardano_wallet (0.3.9)
httparty (~> 0.18.0)
diff-lcs (1.4.4)
httparty (0.18.1)
Expand Down Expand Up @@ -32,7 +32,7 @@ PLATFORMS

DEPENDENCIES
bip_mnemonic (= 0.0.4)
cardano_wallet (~> 0.3.8)
cardano_wallet (~> 0.3.9)
rake (= 12.3.3)
rspec (= 3.10.0)

Expand Down
5 changes: 5 additions & 0 deletions test/e2e/spec/byron_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@
id = create_byron_wallet
utxo = BYRON.wallets.utxo(id)
expect(utxo).to be_correct_and_respond 200
end

it "Can see utxo snapshot" do
id = create_byron_wallet
utxo = BYRON.wallets.utxo_snapshot(id)
expect(utxo).to be_correct_and_respond 200
end
end

Expand Down
6 changes: 6 additions & 0 deletions test/e2e/spec/shelley_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@
utxo = SHELLEY.wallets.utxo(id)
expect(utxo).to be_correct_and_respond 200
end

it "Can see utxo snapshot" do
id = create_shelley_wallet
utxo = SHELLEY.wallets.utxo_snapshot(id)
expect(utxo).to be_correct_and_respond 200
end
end

describe CardanoWallet::Shelley::Addresses do
Expand Down

0 comments on commit 9149b0a

Please sign in to comment.