Add user symbol for search spec

This commit is contained in:
Clement Ho 2016-12-15 15:10:45 -06:00
parent c94b648133
commit 43850df63e
1 changed files with 2 additions and 2 deletions

View File

@ -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