summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-06-14 21:33:35 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-06-14 21:33:35 +0800
commitcc4541e1b2bc4a946d34c689464ec88ac7320963 (patch)
tree49853d1cb370f18e04611f77e3b0c58ebb03ad80
parentc4a3587c7700eb4731502223e4683360454ed0d4 (diff)
downloadgitlab-ce-cc4541e1b2bc4a946d34c689464ec88ac7320963.tar.gz
Port route helper from EE to CE
-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 8417b340de5..dac609e2545 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -87,6 +87,7 @@ RSpec.configure do |config|
config.include LiveDebugger, :js
config.include MigrationsHelpers, :migration
config.include RedisHelpers
+ config.include Rails.application.routes.url_helpers, type: :routing
if ENV['CI']
# This includes the first try, i.e. tests will be run 4 times before failing.