test/node/test_nodup_entrance.rb in zold-0.16.13 vs test/node/test_nodup_entrance.rb in zold-0.16.14

- old
+ new

@@ -29,10 +29,10 @@ # NoDupEntrance test. # Author:: Yegor Bugayenko (yegor256@gmail.com) # Copyright:: Copyright (c) 2018 Yegor Bugayenko # License:: MIT -class TestAsyncEntrance < Minitest::Test +class TestAsyncEntrance < Zold::Test def test_ignores_dup FakeHome.new(log: test_log).run do |home| wallet = home.create_wallet Zold::NoDupEntrance.new(RealEntrance.new, home.wallets, log: test_log).start do |e| assert(e.push(wallet.id, IO.read(wallet.path)).empty?)