diff options
author | Stan Hu <stanhu@gmail.com> | 2015-09-06 09:42:39 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-09-06 09:46:10 -0700 |
commit | 8820785c8fe267789a5c6edf7f4fcb196c48b4a8 (patch) | |
tree | a22f1cc95905a3f8c8a57781dca25a2f86e3a69d /spec/spec_helper.rb | |
parent | 50f76ae0eae29f7362702da274055f76a350ee6f (diff) | |
download | gitlab-ce-8820785c8fe267789a5c6edf7f4fcb196c48b4a8.tar.gz |
Fix emoji URLs in Markdown when relative_url_root is used
Also adds the ability to run rspecs with relative_url_defined on the enviornment. For example:
RELATIVE_URL_ROOT=/gitlab rspec
Closes #1728
Diffstat (limited to 'spec/spec_helper.rb')
-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 d0f1873ee2d..0780c4f3203 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,6 +28,7 @@ RSpec.configure do |config| config.include LoginHelpers, type: :feature config.include LoginHelpers, type: :request config.include StubConfiguration + config.include RelativeUrl, type: feature config.include TestEnv config.infer_spec_type_from_file_location! |