test/commands/test_node.rb in zold-0.10.7 vs test/commands/test_node.rb in zold-0.10.8
- old
+ new
@@ -45,10 +45,10 @@
wallet = wallets.find(id)
wallet.init(id, Zold::Key.new(file: 'fixtures/id_rsa.pub'))
remotes = Zold::Remotes.new(File.join(dir, 'remotes.csv'))
remotes.clean
remotes.add('localhost', port)
- Zold::Push.new(wallets: wallets, remotes: remotes, log: $log).run(['push'])
+ Zold::Push.new(wallets: wallets, remotes: remotes, log: $log).run(['push', '--sync'])
Zold::Fetch.new(
wallets: wallets, copies: File.join(dir, 'copies'),
remotes: remotes, log: $log
).run(['fetch'])
copies = Zold::Copies.new(File.join(dir, "copies/#{id}"))