Add tests for openid signup with every provider
The spec for omniauth doesn't test signup for every provider, and it doesn't test if it has tests for all available providers Also, we no longer use secrets * Add model test to check if the omniauth providers have changed * Test signup using every provider * Replace secretswith environment variables
This commit is contained in:
parent
78a87a45d1
commit
4a1455d207
3 changed files with 107 additions and 4 deletions
|
|
@ -426,4 +426,10 @@ describe User do
|
|||
expect(user.events_registrations).to eq [@events_registration1, @events_registration2]
|
||||
end
|
||||
end
|
||||
|
||||
describe '.omniauth_providers' do
|
||||
it 'contains providers' do
|
||||
expect(User.omniauth_providers).to eq [:suse, :google, :facebook, :github]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue