summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-12 22:17:00 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-12 22:17:00 +0800
commit20d8de8f673e040282ad0811fb8af8fa97aa3e92 (patch)
tree7a170d2d7b1dacda2be8baf1e80b5e7eb77c6ee7
parent850bb6db2facf570a7e0933bbf555f764aeac601 (diff)
downloadgitlab-ce-remove-unused-helper.tar.gz
We're not using them (and look at the typo)remove-unused-helper
-rw-r--r--spec/spec_helper.rb1
-rw-r--r--spec/support/relative_url.rb8
2 files changed, 0 insertions, 9 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 606da1b7605..3638dcbb2d3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -33,7 +33,6 @@ RSpec.configure do |config|
config.include LoginHelpers, type: :request
config.include StubConfiguration
config.include EmailHelpers
- config.include RelativeUrl, type: feature
config.include TestEnv
config.include ActiveJob::TestHelper
config.include StubGitlabCalls
diff --git a/spec/support/relative_url.rb b/spec/support/relative_url.rb
deleted file mode 100644
index 72e3ccce75b..00000000000
--- a/spec/support/relative_url.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-# Fix route helpers in tests (e.g. root_path, ...)
-module RelativeUrl
- extend ActiveSupport::Concern
-
- included do
- default_url_options[:script_name] = Rails.application.config.relative_url_root
- end
-end