Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Labuschagne <blabuschagne@gitlab.com>2019-01-14 19:10:19 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2019-01-14 19:10:19 +0300
commitcc281afb27365adef2d24c85f83686cc8b829187 (patch)
tree0c2d33acde02760d7d45e22c0cdba8f8a8a3f2d6 /spec/spec_helper.rb
parent31af7daf788f3f65d630ab4e5d8bae4bd5607807 (diff)
Resolve "Add "What's new" menu item in top navigation"
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
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