summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/lib/totp_command_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/lib/totp_command_spec.rb b/spec/lib/totp_command_spec.rb
index 7aff1d9..58405e4 100644
--- a/spec/lib/totp_command_spec.rb
+++ b/spec/lib/totp_command_spec.rb
@@ -24,7 +24,8 @@ module TFA
it "returns the one time password for all keys" do
storage.save("development", development_secret)
storage.save("staging", staging_secret)
- expect(subject.run(nil)).to eql([
+
+ expect(subject.run(nil)).to match_array([
{ "development" => code_for(development_secret) },
{ "staging" => code_for(staging_secret) }
])