test/commands/test_remote.rb in zold-0.14.53 vs test/commands/test_remote.rb in zold-0.15.0
- old
+ new
@@ -174,9 +174,10 @@
end
def test_select_respects_max_nodes_option
Dir.mktmpdir do |dir|
remotes = Zold::Remotes.new(file: File.join(dir, 'remotes.txt'))
+ remotes.defaults
zero = Zold::Score::ZERO
cmd = Zold::Remote.new(remotes: remotes, log: test_log)
(5000..5010).each do |port|
stub_request(:get, "http://#{zero.host}:#{zero.port}/remotes").to_return(
status: 200,