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

Fix tests for edited_ago helpers

parent 163bc48e059d
......@@ -94,8 +94,8 @@
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