spec/lib/totp_command_spec.rb in tfa-0.0.6 vs spec/lib/totp_command_spec.rb in tfa-0.0.7

- old
+ new

@@ -1,9 +1,8 @@ module TFA describe TotpCommand do subject { TotpCommand.new(storage) } - let(:storage) { Storage.new(Tempfile.new('test').path) } - let(:storage) { Storage.new(SecureRandom.uuid) } + let(:storage) { Storage.new(filename: SecureRandom.uuid) } def code_for(secret) ::ROTP::TOTP.new(secret).now end