test/node/test_entrance.rb in zold-0.23.4 vs test/node/test_entrance.rb in zold-0.23.5
- old
+ new
@@ -53,10 +53,10 @@
FakeHome.new(log: test_log).run do |home|
source = home.create_wallet(sid)
target = home.create_wallet(tid)
e = Zold::Entrance.new(home.wallets, home.remotes, home.copies(source).root, 'x', log: test_log)
modified = e.push(source.id, body)
- assert_equal(2, modified.count)
+ assert_equal(3, modified.count)
assert_equal(Zold::Amount.new(zld: -19.99), source.balance)
assert_equal(Zold::Amount.new(zld: 19.99), target.balance)
assert(modified.include?(sid))
assert(modified.include?(tid))
end