spec/lib/totp_command_spec.rb in tfa-0.0.5 vs spec/lib/totp_command_spec.rb in tfa-0.0.6
- old
+ new
@@ -29,8 +29,14 @@
{ 'development' => code_for(development_secret) },
{ 'staging' => code_for(staging_secret) }
])
end
end
+
+ context 'when the key is not known' do
+ it "returns with nothing" do
+ expect(subject.run(["blah"])).to be_empty
+ end
+ end
end
end
end