Commit 31cddc15 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix tests for edited_ago helpers

parent fd41e399
......@@ -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
......
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