Commit 1ec7dcda authored by Stan Hu's avatar Stan Hu

Merge branch '212077-spec-tasks-gitlab-web_hook_rake_spec-rb-failing' into 'master'

Resolve "spec/tasks/gitlab/web_hook_rake_spec.rb failing"

Closes #212077

See merge request gitlab-org/gitlab!27765
parents 1fa88f63 d1ce3745
...@@ -23,7 +23,12 @@ describe 'gitlab:app namespace rake task' do ...@@ -23,7 +23,12 @@ describe 'gitlab:app namespace rake task' do
end end
before(:all) do before(:all) do
Rails.application.load_tasks Rake.application.rake_require 'active_record/railties/databases'
Rake.application.rake_require 'tasks/gitlab/helpers'
Rake.application.rake_require 'tasks/gitlab/backup'
Rake.application.rake_require 'tasks/gitlab/shell'
Rake.application.rake_require 'tasks/gitlab/db'
Rake.application.rake_require 'tasks/cache'
# empty task as env is already loaded # empty task as env is already loaded
Rake::Task.define_task :environment Rake::Task.define_task :environment
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment