test/commands/test_remote.rb in zold-0.14.19 vs test/commands/test_remote.rb in zold-0.14.20
- old
+ new
@@ -99,14 +99,14 @@
status: 200,
body: {
version: Zold::VERSION,
score: zero.to_h,
all: [
- { host: 'localhost', port: 888 }
+ { host: 'localhost', port: 8883 }
]
}.to_json
)
- stub_request(:get, 'http://localhost:888/remotes').to_return(status: 404)
+ stub_request(:get, 'http://localhost:8883/remotes').to_return(status: 404)
cmd = Zold::Remote.new(remotes: remotes, log: test_log)
cmd.run(%w[remote clean])
assert(remotes.all.empty?)
cmd.run(['remote', 'add', zero.host, zero.port.to_s, '--skip-ping'])
cmd.run(['remote', 'update', '--ignore-score-weakness', '--skip-ping'])