FEATURE: Use translated name for 'your email has been authenticated by' (#6649)

This commit is contained in:
David Taylor
2018-11-22 19:12:04 +00:00
committed by GitHub
parent 7e20a0b917
commit f645cb9c14
5 changed files with 25 additions and 13 deletions

View File

@@ -33,9 +33,7 @@ describe "users/omniauth_callbacks/complete.html.erb" do
render
expect(rendered_data["email"]).to eq(result.email)
# TODO this is a bit weird, the upcasing is confusing,
# clean it up throughout
expect(rendered_data["auth_provider"]).to eq("Cas")
expect(rendered_data["auth_provider"]).to eq("CAS")
end
end