|
|
@ -138,7 +138,7 @@ describe Devise::Models::TwoFactorAuthenticatable do |
|
|
|
|
|
|
|
|
|
|
|
it "returns uri with user's email" do |
|
|
|
it "returns uri with user's email" do |
|
|
|
expect(instance.provisioning_uri). |
|
|
|
expect(instance.provisioning_uri). |
|
|
|
to match(%r{otpauth://totp/houdini@example.com\?secret=\w{32}}) |
|
|
|
to match(%r{otpauth://totp/houdini%40example.com\?secret=\w{32}}) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it 'returns uri with issuer option' do |
|
|
|
it 'returns uri with issuer option' do |
|
|
|