summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-06-14 15:20:21 -0700
committerStan Hu <stanhu@gmail.com>2017-06-14 22:31:15 -0700
commit9203a5abb8188a6d6a4cc2bf3d968fa5f0a99acd (patch)
tree71d4fcafc2c21628d89c8f568a44761e8710af5f
parent42aaae9916b7b76da968579fcc722067947df018 (diff)
downloadgitlab-ce-sh-fix-spec-helper-ee-consistency.tar.gz
Make spec/spec_helper consistent with EE by including a :routing typesh-fix-spec-helper-ee-consistency
-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!