test/commands/routines/test_bonuses.rb in zold-0.13.34 vs test/commands/routines/test_bonuses.rb in zold-0.13.35

- old
+ new

@@ -32,11 +32,11 @@ # Author:: Yegor Bugayenko (yegor256@gmail.com) # Copyright:: Copyright (c) 2018 Yegor Bugayenko # License:: MIT class TestBonuses < Minitest::Test def test_pays_bonuses - FakeNode.new(log: test_log).run(['--ignore-score-weakness']) do |port| - FakeHome.new.run do |home| + FakeHome.new.run do |home| + FakeNode.new(log: test_log).run(['--ignore-score-weakness']) do |port| bank = home.create_wallet Zold::Pay.new(wallets: home.wallets, remotes: home.remotes, log: test_log).run( ['pay', home.create_wallet.id.to_s, bank.id.to_s, '100', '--force', '--private-key=id_rsa'] ) assert_equal(Zold::Amount.new(zld: 100.0), bank.balance)