test/test_tax.rb in zold-0.14.8 vs test/test_tax.rb in zold-0.14.9
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
# Copyright (c) 2018 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
@@ -70,11 +72,11 @@
)
target = home.create_wallet
invoice = "#{Zold::Prefixes.new(target).create}@#{target.id}"
tax = Zold::Tax.new(wallet)
score = Zold::Score.new(
- Time.now, 'localhost', 80, invoice,
- %w[A B C D E F G H I J K L M N O P Q R S T U V]
+ time: Time.now, host: 'localhost', port: 80, invoice: invoice,
+ suffixes: %w[A B C D E F G H I J K L M N O P Q R S T U V]
)
tax.pay(Zold::Key.new(file: 'fixtures/id_rsa'), score)
assert(
tax.exists?(
Zold::Txn.new(