Browse Source

URL encoding

get_specs_running
baarkerlounger 3 years ago
parent
commit
9dbcabf331
  1. 2
      spec/lib/two_factor_authentication/models/two_factor_authenticatable_spec.rb

2
spec/lib/two_factor_authentication/models/two_factor_authenticatable_spec.rb

@ -138,7 +138,7 @@ describe Devise::Models::TwoFactorAuthenticatable do
it "returns uri with user's email" do
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
it 'returns uri with issuer option' do

Loading…
Cancel
Save