diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2016-12-15 15:10:45 -0600 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-01-04 16:45:26 -0600 |
commit | 1a7b107835a074d4dd0a964007b1d789095aa90a (patch) | |
tree | e3b5c586ca6d6b55464b6dc572ab3f265adb6bf5 | |
parent | 8da2bd0bca4a63940c4fb91b56acff6c36c4bacb (diff) | |
download | gitlab-ce-1a7b107835a074d4dd0a964007b1d789095aa90a.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 |