test/test_hungry_wallets.rb in zold-0.20.4 vs test/test_hungry_wallets.rb in zold-0.21.0
- old
+ new
@@ -35,10 +35,10 @@
# License:: MIT
class TestHungryWallets < Zold::Test
def test_pulls_wallet
FakeHome.new(log: test_log).run do |home|
id = Zold::Id.new
- get = stub_request(:get, "http://localhost:4096/wallet/#{id}/size").to_return(status: 404)
+ get = stub_request(:get, "http://localhost:4096/wallet/#{id}").to_return(status: 404)
remotes = home.remotes
remotes.add('localhost', 4096)
pool = Zold::ThreadPool.new('test', log: test_log)
wallets = Zold::HungryWallets.new(
home.wallets, remotes, File.join(home.dir, 'copies'),