diff options
author | Brandon Labuschagne <blabuschagne@gitlab.com> | 2019-01-14 16:10:19 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2019-01-14 16:10:19 +0000 |
commit | cc281afb27365adef2d24c85f83686cc8b829187 (patch) | |
tree | 0c2d33acde02760d7d45e22c0cdba8f8a8a3f2d6 /spec/spec_helper.rb | |
parent | 31af7daf788f3f65d630ab4e5d8bae4bd5607807 (diff) | |
download | gitlab-ce-cc281afb27365adef2d24c85f83686cc8b829187.tar.gz |
Resolve "Add "What's new" menu item in top navigation"
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 89357056c93..ca977effcb6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -127,6 +127,11 @@ RSpec.configure do |config| .and_return(false) end + config.before(:suite) do + # Set latest release blog post URL for "What's new?" link + Gitlab::ReleaseBlogPost.instance.instance_variable_set(:@url, 'https://about.gitlab.com') + end + config.before(:example, :request_store) do RequestStore.begin! end |