test/node/test_entrance.rb in zold-0.14.11 vs test/node/test_entrance.rb in zold-0.14.12
- old
+ new
@@ -63,8 +63,9 @@
FakeHome.new.run do |home|
wallet = home.create_wallet
e = Zold::Entrance.new(home.wallets, home.remotes, home.copies.root, 'x', log: test_log)
e.push(wallet.id, File.read(wallet.path))
assert(e.to_json[:history].include?(wallet.id.to_s))
+ assert(e.to_json[:speed].positive?)
end
end
end