test/commands/test_pull.rb in zold-0.16.24 vs test/commands/test_pull.rb in zold-0.16.25

- old
+ new

@@ -42,10 +42,10 @@ 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] ) - home.wallets.find(Zold::Id.new(id)) do |wallet| + home.wallets.acq(Zold::Id.new(id)) do |wallet| assert(wallet.exists?) end end end end