Commit 44a66c96 authored by Sean McGivern's avatar Sean McGivern Committed by Oswaldo Ferreira

Merge branch 'fix-notes_on_personal_snippets_spec-timeago-assertion' into 'master'

Fix notes_on_personal_snippets_spec EE

See merge request !1846
parent 6ab75328
......@@ -78,9 +78,11 @@ describe 'Comments on personal snippets', :js, feature: true do
end
page.within("#notes-list li#note_#{snippet_notes[0].id}") do
edited_text = find('.edited-text')
expect(page).to have_css('.note_edited_ago')
expect(page).to have_content('new content')
expect(find('.note_edited_ago').text).to match(/less than a minute ago/)
expect(edited_text).to have_selector('.note_edited_ago')
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment