diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 15:09:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 15:09:52 +0000 |
commit | e43077ab4742ba5083a01a1e5341db1a1b7a1701 (patch) | |
tree | c33a00fb176caff735243c484bbd594a3b08bb6e /spec/helpers | |
parent | 211a8c3361ccf4eb92f36edbdcf15c98fcdcc8b7 (diff) | |
download | gitlab-ce-e43077ab4742ba5083a01a1e5341db1a1b7a1701.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/nav_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/nav_helper_spec.rb b/spec/helpers/nav_helper_spec.rb index a3e879a3f39..f92dca11136 100644 --- a/spec/helpers/nav_helper_spec.rb +++ b/spec/helpers/nav_helper_spec.rb @@ -83,7 +83,7 @@ describe NavHelper, :do_not_mock_admin_mode do expect(helper.header_links).not_to include(:issues, :merge_requests, :todos, :search) end - it 'shows the search box when the user cannot read cross project and he is visiting a project' do + it 'shows the search box when the user cannot read cross project and they are visiting a project' do helper.instance_variable_set(:@project, create(:project)) expect(helper.header_links).to include(:search) |