diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-23 13:40:18 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-05-29 16:20:25 +0300 |
commit | 1a424a9bc9cf1fbabd70ac2384978ae94674e6d7 (patch) | |
tree | 99d756dc5965119793e95eaecc51b33bb0451efc /spec/lib/gitlab/project_search_results_spec.rb | |
parent | 7487d06c4ba7f186fddc11aa39ab66e8cb4ccc14 (diff) |
Explicitly test that guest is able to search through the wiki
Diffstat (limited to 'spec/lib/gitlab/project_search_results_spec.rb')
-rw-r--r-- | spec/lib/gitlab/project_search_results_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/project_search_results_spec.rb b/spec/lib/gitlab/project_search_results_spec.rb index 1b8690ba613..3d22784909d 100644 --- a/spec/lib/gitlab/project_search_results_spec.rb +++ b/spec/lib/gitlab/project_search_results_spec.rb @@ -123,8 +123,8 @@ describe Gitlab::ProjectSearchResults, lib: true do context 'when wiki is internal' do let(:project) { create(:project, :public, :wiki_private) } - it 'finds wiki blobs for members' do - project.add_reporter(user) + it 'finds wiki blobs for guest' do + project.add_guest(user) is_expected.not_to be_empty end |