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:
authorDouwe Maan <douwe@gitlab.com>2016-01-06 15:02:51 +0300
committerDouwe Maan <douwe@gitlab.com>2016-01-06 15:02:51 +0300
commit384445eca6249363c0da6d8b96e7ee030dc6fab3 (patch)
treec4eedd06e7487a6d5ba68b7e9ce6973b8d85e7f3 /spec/helpers
parent6d3b5ea2a9611dc7d87bd48043f34f9e0930e052 (diff)
Don't override issue page description in project layout.
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/page_layout_helper_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/helpers/page_layout_helper_spec.rb b/spec/helpers/page_layout_helper_spec.rb
index a097786ba6d..cf632f594c7 100644
--- a/spec/helpers/page_layout_helper_spec.rb
+++ b/spec/helpers/page_layout_helper_spec.rb
@@ -2,10 +2,8 @@ require 'rails_helper'
describe PageLayoutHelper do
describe 'page_description' do
- it 'defaults to value returned by brand_title helper' do
- allow(helper).to receive(:brand_title).and_return('Foo')
-
- expect(helper.page_description).to eq 'Foo'
+ it 'defaults to nil' do
+ expect(helper.page_description).to eq nil
end
it 'returns the last-pushed description' do