diff options
Diffstat (limited to 'spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb')
-rw-r--r-- | spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb b/spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb index 8a3d83da93f..a4890b34208 100644 --- a/spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb +++ b/spec/features/projects/awards/user_interacts_with_awards_in_issue_spec.rb @@ -99,7 +99,7 @@ describe 'User interacts with awards in an issue', :js do click_button('Comment') end - expect(page).to have_selector('gl-emoji[data-name="smile"]') + expect(page).to have_emoji('smile') end context 'when a project is archived' do @@ -118,7 +118,7 @@ describe 'User interacts with awards in an issue', :js do it 'shows the award on the note' do page.within('.note-awards') do - expect(page).to have_selector('gl-emoji[data-name="100"]') + expect(page).to have_emoji('100') end end @@ -141,7 +141,7 @@ describe 'User interacts with awards in an issue', :js do wait_for_requests page.within('.note-awards') do - expect(page).to have_selector('gl-emoji[data-name="8ball"]') + expect(page).to have_emoji('8ball') end expect(note.reload.award_emoji.size).to eq(2) end |