diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-01-06 13:02:51 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-01-06 13:02:51 +0100 |
commit | 384445eca6249363c0da6d8b96e7ee030dc6fab3 (patch) | |
tree | c4eedd06e7487a6d5ba68b7e9ce6973b8d85e7f3 /spec | |
parent | 6d3b5ea2a9611dc7d87bd48043f34f9e0930e052 (diff) | |
download | gitlab-ce-384445eca6249363c0da6d8b96e7ee030dc6fab3.tar.gz |
Don't override issue page description in project layout.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/page_layout_helper_spec.rb | 6 |
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 |