Skip to content

Commit

Permalink
Little cleanup at e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Jun 28, 2022
1 parent 67e519d commit fb56358
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/spec/shelley_spec.rb
Expand Up @@ -276,7 +276,7 @@

it "Can list addresses" do
id = create_shelley_wallet
shelley_addr = CardanoWallet.new.shelley.addresses
shelley_addr = SHELLEY.addresses
addresses = shelley_addr.list id
expect(addresses).to be_correct_and_respond 200
expect(addresses.size).to eq 20
Expand Down Expand Up @@ -399,7 +399,7 @@
describe CardanoWallet::Shelley::StakePools do

after(:each) do
settings = CardanoWallet.new.misc.settings
settings = CW.misc.settings
s = settings.update({ :pool_metadata_source => "none" })
end

Expand All @@ -417,7 +417,7 @@
end

it "ADP-634 - Pool metadata is updated when settings are updated", :offchain, :smash do
settings = CardanoWallet.new.misc.settings
settings = CW.misc.settings
pools = SHELLEY.stake_pools

s = settings.update({ :pool_metadata_source => "direct" })
Expand Down Expand Up @@ -456,10 +456,10 @@
describe "Stake Pools GC Maintenance" do
matrix = [{ "direct" => "not_applicable" },
{ "none" => "not_applicable" },
{ "https://smash.cardano-testnet.iohkdev.io" => "has_run" }]
{ ENV['TESTS_E2E_SMASH'] => "has_run" }]
matrix.each do |tc|
it "GC metadata maintenance action on metadata source #{tc}" do
settings = CardanoWallet.new.misc.settings
settings = CW.misc.settings
pools = SHELLEY.stake_pools

s = settings.update({ :pool_metadata_source => tc.keys.first })
Expand Down

0 comments on commit fb56358

Please sign in to comment.