diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-19 15:16:58 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-19 15:16:58 +0300 |
commit | 0579a89fb9aa93918760b2dd3eb6b7ae0eeea739 (patch) | |
tree | 0affe7f35a624b21194148e0606877dbec93c179 /spec | |
parent | 312ed3f9a458ba76a738cf75da8e07954cedecdd (diff) | |
parent | 6bd94f20e30dfcba5273cd6e7415fb90914ab5a7 (diff) |
Merge branch 'authentiq-updates' into 'master'
Added authentiq provider to tests and updated documentation, gem and config file.
See merge request !12952
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/profiles/accounts_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/helpers/auth_helper_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/profiles/accounts_controller_spec.rb b/spec/controllers/profiles/accounts_controller_spec.rb index 2f9d18e3a0e..d387aba227b 100644 --- a/spec/controllers/profiles/accounts_controller_spec.rb +++ b/spec/controllers/profiles/accounts_controller_spec.rb @@ -29,7 +29,7 @@ describe Profiles::AccountsController do end end - [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0].each do |provider| + [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0, :authentiq].each do |provider| describe "#{provider} provider" do let(:user) { create(:omniauth_user, provider: provider.to_s) } diff --git a/spec/helpers/auth_helper_spec.rb b/spec/helpers/auth_helper_spec.rb index a0e1265efff..c94fedd615b 100644 --- a/spec/helpers/auth_helper_spec.rb +++ b/spec/helpers/auth_helper_spec.rb @@ -70,7 +70,7 @@ describe AuthHelper do end end - [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0].each do |provider| + [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0, :authentiq].each do |provider| it "returns false if the provider is #{provider}" do expect(helper.unlink_allowed?(provider)).to be true end |