test/commands/test_remote.rb in zold-0.14.35 vs test/commands/test_remote.rb in zold-0.14.36
- old
+ new
@@ -153,10 +153,10 @@
version: Zold::VERSION
}.to_json
)
cmd.run(%W[remote add localhost #{port}])
end
- assert_equal(12, remotes.all.count)
+ assert_equal(11 + File.readlines('resources/remotes').count, remotes.all.count)
cmd.run(%w[remote select --max-nodes=5])
assert_equal(5, remotes.all.count)
end
end
end