test/commands/test_invoice.rb in zold-0.16.24 vs test/commands/test_invoice.rb in zold-0.16.25

- old
+ new

@@ -36,10 +36,10 @@ class TestInvoice < Zold::Test def test_generates_invoice Dir.mktmpdir do |dir| id = Zold::Id.new wallets = Zold::Wallets.new(dir) - wallets.find(id) do |source| + wallets.acq(id) do |source| source.init(id, Zold::Key.new(file: 'fixtures/id_rsa.pub')) invoice = Zold::Invoice.new(wallets: wallets, remotes: nil, copies: nil, log: test_log).run( ['invoice', id.to_s, '--length=16'] ) assert_equal(33, invoice.length)