Commit aae8c943 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'remove-unused-helper' into 'master'

Remove unused RelativeUrl spec support file

See merge request !5207
parents a6a69709 20d8de8f
...@@ -33,7 +33,6 @@ RSpec.configure do |config| ...@@ -33,7 +33,6 @@ RSpec.configure do |config|
config.include LoginHelpers, type: :request config.include LoginHelpers, type: :request
config.include StubConfiguration config.include StubConfiguration
config.include EmailHelpers config.include EmailHelpers
config.include RelativeUrl, type: feature
config.include TestEnv config.include TestEnv
config.include ActiveJob::TestHelper config.include ActiveJob::TestHelper
config.include StubGitlabCalls config.include StubGitlabCalls
......
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment