summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-04-15 19:38:07 -0400
committerBryce Johnson <bryce@gitlab.com>2017-05-18 16:37:48 -0400
commit3c668fa04fd7e0a1d925e9666eb727ed3e83d145 (patch)
tree556d553c9b8915eee0337527f6f8feae0217d3e9 /spec/features
parenta3eabcc20c422db7032e31397c21dbc6ca3166de (diff)
downloadgitlab-ce-3c668fa04fd7e0a1d925e9666eb727ed3e83d145.tar.gz
Consolidate user avatar Vue logic
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/merge_requests/diff_notes_avatars_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/diff_notes_avatars_spec.rb b/spec/features/merge_requests/diff_notes_avatars_spec.rb
index b2e170513c4..ccf047d3efa 100644
--- a/spec/features/merge_requests/diff_notes_avatars_spec.rb
+++ b/spec/features/merge_requests/diff_notes_avatars_spec.rb
@@ -91,7 +91,7 @@ feature 'Diff note avatars', feature: true, js: true do
page.within find("[id='#{position.line_code(project.repository)}']") do
find('.diff-notes-collapse').click
- expect(first('img.js-diff-comment-avatar')["title"]).to eq("#{note.author.name}: #{note.note.truncate(17)}")
+ expect(first('img.js-diff-comment-avatar')["data-original-title"]).to eq("#{note.author.name}: #{note.note.truncate(17)}")
end
end