gitlab-org--gitlab-foss/spec
Stan Hu bf8f4c135a Fix OmniAuth OAuth2Generic strategy not loading
In https://github.com/rails/rails/commit/83b767ce, Rails 5.1 removed
support for using a String to specify a middleware. When the
strategy_class argument is passed from the GitLab YAML config to Devise,
Devise passes the string value straight through to Rails, and GitLab
would crash with a NoMethodError inside ActionDispatch::MiddlewareStack.

To make this OmniAuth strategy work again, we normalize the arguments by
converting the strategy_class value into an actual Class.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62216
2019-05-23 12:17:56 -07:00
..
bin Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
config Add some frozen string to spec/**/*.rb 2019-04-15 10:17:05 +00:00
controllers #61441 Allow user to set email ID before setting up 2FA 2019-05-22 07:59:15 +00:00
db Change the schema of the common_metrics.yml 2019-04-17 20:02:24 +08:00
dependencies
factories Optimise upload path calls 2019-05-14 11:01:48 -05:00
features Setup Vue app for repository file listing 2019-05-20 08:41:28 +00:00
finders Add improvements to the global search process 2019-05-07 11:08:25 +00:00
fixtures Add allow_failure attribute to Job API 2019-05-21 09:21:53 +00:00
frontend Added tree list row component 2019-05-21 14:26:18 +01:00
graphql Merge branch 'graphql-tree' into 'master' 2019-05-22 15:06:03 +00:00
haml_lint/linter Move files from lib/haml_lint to haml_lint 2019-05-21 19:49:14 -07:00
helpers Fix page_description helper performance 2019-05-22 16:56:12 +01:00
initializers Generate Let's Encrypt private key 2019-05-09 13:45:25 +00:00
javascripts Merge branch 'api-spec-scb' into 'master' 2019-05-22 07:39:35 +00:00
lib Fix OmniAuth OAuth2Generic strategy not loading 2019-05-23 12:17:56 -07:00
mailers Add leave link to access_granted email 2019-05-03 17:19:16 +01:00
migrations Fix issuables state_id nil when importing projects from GitHub 2019-05-06 19:45:17 +00:00
models Merge branch 'sh-bump-shoulda-matcher' into 'master' 2019-05-22 14:08:38 +00:00
policies Check instance cluster feature at policy level 2019-05-07 08:37:04 +12:00
presenters Fix specs to match route changes 2019-05-20 15:21:37 +03:00
rack_servers Better document the current states of our testing levels 2019-04-17 15:50:10 +02:00
requests Merge branch 'api_masked_variables' into 'master' 2019-05-23 14:53:10 +00:00
routing Add network and graphs to legacy routes too 2019-05-21 12:15:37 +03:00
rubocop Link to issue in CodeReuse/ActiveRecord message 2019-05-22 11:37:46 +12:00
serializers Display classname JUnit attribute in report modal 2019-05-20 13:27:08 +00:00
services Change system notes to use relative urls 2019-05-23 12:04:09 +00:00
sidekiq/cron
support Merge branch 'sh-bump-shoulda-matcher' into 'master' 2019-05-22 14:08:38 +00:00
tasks
uploaders Fix incorrect prefix used in new uploads for personal snippets 2019-05-16 23:36:55 -07:00
validators
views Fix specs to match route changes 2019-05-20 15:21:37 +03:00
workers Expire pipeline cache on finish 2019-05-21 17:16:06 +02:00
factories_spec.rb
fast_spec_helper.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'" 2019-05-22 11:45:46 +00:00