Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-06-15 01:20:21 +0300
committerStan Hu <stanhu@gmail.com>2017-06-15 08:31:15 +0300
commit9203a5abb8188a6d6a4cc2bf3d968fa5f0a99acd (patch)
tree71d4fcafc2c21628d89c8f568a44761e8710af5f /spec
parent42aaae9916b7b76da968579fcc722067947df018 (diff)
Make spec/spec_helper consistent with EE by including a :routing type
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a81d3573f8d..01ac3cbd3f6 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -56,6 +56,7 @@ RSpec.configure do |config|
config.include StubGitlabCalls
config.include StubGitlabData
config.include ApiHelpers, :api
+ config.include Rails.application.routes.url_helpers, type: :routing
config.include MigrationsHelpers, :migration
config.infer_spec_type_from_file_location!