Fix tests for edited_ago helpers

This commit is contained in:
Dmitriy Zaporozhets 2015-01-18 19:47:58 -08:00
parent fd41e39906
commit 31cddc152c
1 changed files with 2 additions and 2 deletions

View File

@ -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