test/commands/test_diff.rb in zold-0.20.0 vs test/commands/test_diff.rb in zold-0.20.1
- old
+ new
@@ -44,10 +44,10 @@
wallet = home.create_wallet
first = home.create_wallet
IO.write(first.path, IO.read(wallet.path))
second = home.create_wallet
IO.write(second.path, IO.read(wallet.path))
- Zold::Pay.new(wallets: home.wallets, remotes: home.remotes, log: test_log).run(
+ Zold::Pay.new(wallets: home.wallets, copies: home.dir, remotes: home.remotes, log: test_log).run(
['pay', wallet.id.to_s, "NOPREFIX@#{Zold::Id.new}", '14.95', '--force', '--private-key=fixtures/id_rsa']
)
copies = home.copies(wallet)
copies.add(IO.read(first.path), 'host-1', 80, 5)
copies.add(IO.read(second.path), 'host-2', 80, 5)