test/commands/test_pull.rb in zold-0.15.0 vs test/commands/test_pull.rb in zold-0.16.0
- old
+ new
@@ -32,10 +32,10 @@
# Author:: Yegor Bugayenko (yegor256@gmail.com)
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
class TestPull < Minitest::Test
def test_pull_wallet
- FakeHome.new.run do |home|
+ FakeHome.new(log: test_log).run do |home|
remotes = home.remotes
remotes.add('localhost', 80)
json = home.create_wallet_json
id = Zold::JsonPage.new(json).to_hash['id']
stub_request(:get, "http://localhost:80/wallet/#{id}").to_return(status: 200, body: json)