Test private method timestamp_attributes_for_update

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Franck Verrot 2011-01-25 23:21:33 +01:00 committed by Santiago Pastorino
parent 6d40d527e8
commit 253f5a15f4

@ -145,4 +145,9 @@ def test_timestamp_attributes_for_create
toy = Toy.first
assert_equal toy.send(:timestamp_attributes_for_create), [:created_at, :created_on]
end
def test_timestamp_attributes_for_update
toy = Toy.first
assert_equal toy.send(:timestamp_attributes_for_update), [:updated_at, :updated_on]
end
end