Skip to content

Commit

Permalink
fix select assets to check
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Dec 20, 2021
1 parent 1f16619 commit c8b0f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def assets_balance(assets, options = {})

asset_set = assets.map { |x| { "#{x['policy_id']}#{x['asset_name']}" => x['quantity'] + options[:delta] } }.to_set
if assets_to_check
asset_set.select! {|a| assets_to_check.include? a.keys.first}
asset_set.select {|a| assets_to_check.include? a.keys.first}.to_set
else
asset_set
end
Expand Down

0 comments on commit c8b0f7e

Please sign in to comment.