test/fake_home.rb in zold-0.9 vs test/fake_home.rb in zold-0.9.1
- old
+ new
@@ -40,11 +40,10 @@
def wallets
Zold::Wallets.new(@dir)
end
- def create_wallet
- id = Zold::Id.new
+ def create_wallet(id = Zold::Id.new)
wallet = Zold::Wallet.new(File.join(@dir, id.to_s))
wallet.init(id, Zold::Key.new(file: 'fixtures/id_rsa.pub'))
wallet
end