Renamed revised_on to revised_at everywhere (for consistency)
This commit is contained in:
parent
c381287714
commit
5b075ca338
9 changed files with 17 additions and 21 deletions
|
@ -50,7 +50,7 @@ class PageTest < Test::Unit::TestCase
|
|||
@page.reload
|
||||
assert_equal 2, @page.revisions.length
|
||||
assert_equal 'HisWay would be MyWay in kinda update', @page.content
|
||||
assert_equal Time.local(2004, 4, 4, 16, 57), @page.revised_on
|
||||
assert_equal Time.local(2004, 4, 4, 16, 57), @page.revised_at
|
||||
|
||||
# but consecutive revision by another author results in a new revision
|
||||
@page.revise('HisWay would be MyWay in the house', Time.local(2004, 4, 4, 16, 58), 'DavidHeinemeierHansson')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue