]> cat aescling's git repositories - mastodon.git/blobdiff - spec/controllers/settings/two_factor_authentication/confirmations_controller_spec.rb
Update Mastodon to Rails 6.1 (#15910)
[mastodon.git] / spec / controllers / settings / two_factor_authentication / confirmations_controller_spec.rb
index cdfeef8d6a7223a7d2a14ac8ee0d20730fb8fd00..7b86513bef6cf9dff6af92710d3cd1789ffccf20 100644 (file)
@@ -11,7 +11,7 @@ describe Settings::TwoFactorAuthentication::ConfirmationsController do
       subject
 
       expect(assigns(:confirmation)).to be_instance_of Form::TwoFactorConfirmation
-      expect(assigns(:provision_url)).to eq 'otpauth://totp/local-part@domain?secret=thisisasecretforthespecofnewview&issuer=cb6e6126.ngrok.io'
+      expect(assigns(:provision_url)).to eq 'otpauth://totp/cb6e6126.ngrok.io:local-part%40domain?secret=thisisasecretforthespecofnewview&issuer=cb6e6126.ngrok.io'
       expect(assigns(:qrcode)).to be_instance_of RQRCode::QRCode
       expect(response).to have_http_status(200)
       expect(response).to render_template(:new)
This page took 0.034767 seconds and 3 git commands to generate.