diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-07-20 17:42:37 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-07-21 22:35:26 +0300 |
commit | a22665931d85f3980f9b0f0e5301142a0803087d (patch) | |
tree | b5bd965e0c6f331b7fc8b30fc75499bbf21305c0 /spec/features | |
parent | 0555d6918ccb92faf7a62927820efdac3576f1f3 (diff) |
IssueNotesRefactor: Fix award emoji specs.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/issues/award_emoji_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/issues/award_emoji_spec.rb b/spec/features/issues/award_emoji_spec.rb index 823c779e0d9..f6368167665 100644 --- a/spec/features/issues/award_emoji_spec.rb +++ b/spec/features/issues/award_emoji_spec.rb @@ -70,13 +70,13 @@ describe 'Awards Emoji', feature: true do it 'toggles the smiley emoji on a note', js: true do toggle_smiley_emoji(true) - within('.note-awards') do + within('.note-body') do expect(find(emoji_counter)).to have_text("1") end toggle_smiley_emoji(false) - within('.note-awards') do + within('.note-body') do expect(page).not_to have_selector(emoji_counter) end end |