diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-15 15:10:45 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-09 16:01:30 -0600 |
commit | 43850df63e342f912d8a8b0989364be6b26e655f (patch) | |
tree | 76d83796ff92dfa572332062cad3d3d5b037dcb9 | |
parent | c94b64813399633ccb3a20c0f09c2e70aa7bbc0c (diff) | |
download | gitlab-ce-43850df63e342f912d8a8b0989364be6b26e655f.tar.gz |
Add user symbol for search spec
-rw-r--r-- | spec/features/search_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/search_spec.rb b/spec/features/search_spec.rb index 9a7079848a5..a05b83959fb 100644 --- a/spec/features/search_spec.rb +++ b/spec/features/search_spec.rb @@ -170,7 +170,7 @@ describe "Search", feature: true do sleep 2 expect(page).to have_selector('.filtered-search') - expect(find('.filtered-search').value).to eq("assignee:#{user.username}") + expect(find('.filtered-search').value).to eq("assignee:@#{user.username}") end it 'takes user to her issues page when issues authored is clicked' do @@ -178,7 +178,7 @@ describe "Search", feature: true do sleep 2 expect(page).to have_selector('.filtered-search') - expect(find('.filtered-search').value).to eq("author:#{user.username}") + expect(find('.filtered-search').value).to eq("author:@#{user.username}") end it 'takes user to her MR page when MR assigned is clicked' do |