diff options
author | Stan Hu <stanhu@gmail.com> | 2017-06-14 15:20:21 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-06-14 22:31:15 -0700 |
commit | 9203a5abb8188a6d6a4cc2bf3d968fa5f0a99acd (patch) | |
tree | 71d4fcafc2c21628d89c8f568a44761e8710af5f | |
parent | 42aaae9916b7b76da968579fcc722067947df018 (diff) | |
download | gitlab-ce-9203a5abb8188a6d6a4cc2bf3d968fa5f0a99acd.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.rb | 1 |
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! |