mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 22:16:15 +10:00
Fix tests for edited_ago helpers
This commit is contained in:
@@ -94,8 +94,8 @@ describe 'Comments' do
|
||||
end
|
||||
|
||||
within("#note_#{note.id}") do
|
||||
should have_css(".note-last-update small")
|
||||
find(".note-last-update small").text.should match(/Edited less than a minute ago/)
|
||||
should have_css(".note_edited_ago")
|
||||
find(".note_edited_ago").text.should match(/less than a minute ago/)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user