spec/lib/show_command_spec.rb in tfa-0.0.6 vs spec/lib/show_command_spec.rb in tfa-0.0.7
- old
+ new
@@ -1,8 +1,8 @@
module TFA
describe ShowCommand do
subject { ShowCommand.new(storage) }
- let(:storage) { Storage.new(SecureRandom.uuid) }
+ let(:storage) { Storage.new(filename: SecureRandom.uuid) }
describe "#run" do
context "when looking up the secret for a specific key" do
it "retrieves the secret associated with the key given" do
secret = SecureRandom.uuid