test/commands/test_pull.rb in zold-0.18.8 vs test/commands/test_pull.rb in zold-0.18.9

- old
+ new

@@ -40,10 +40,10 @@ json = home.create_wallet_json id = Zold::JsonPage.new(json).to_hash['id'] stub_request(:get, "http://localhost:4096/wallet/#{id}/size").to_return(status: 200, body: '10000') stub_request(:get, "http://localhost:4096/wallet/#{id}").to_return(status: 200, body: json) Zold::Pull.new(wallets: home.wallets, remotes: remotes, copies: home.copies.root.to_s, log: test_log).run( - ['--ignore-this-stupid-option', 'pull', id.to_s] + ['--ignore-this-stupid-option', 'pull', id.to_s, '--tolerate-edges'] ) home.wallets.acq(Zold::Id.new(id)) do |wallet| assert(wallet.exists?) end end