diff --git a/spec/support/totp_helper.rb b/spec/support/totp_helper.rb index 1a49c81..060489d 100644 --- a/spec/support/totp_helper.rb +++ b/spec/support/totp_helper.rb @@ -6,6 +6,6 @@ class TotpHelper end def totp_code(time = Time.now) - ROTP::TOTP.new(@secret_key, digits: @otp_length).at(time, true) + ROTP::TOTP.new(@secret_key, digits: @otp_length).at(time) end end