5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-04 10:27:04 +00:00

la fecha cambió si se acaba de inicializar el post

This commit is contained in:
f 2021-06-26 20:34:33 -03:00
parent 06e958710f
commit 66d1846cea

View file

@ -110,7 +110,6 @@ class PostTest < ActiveSupport::TestCase
end
test 'se puede cambiar la fecha' do
assert_not @post.date.changed?
assert @post.date.valid?
ex_date = @post.date.value