la fecha cambió si se acaba de inicializar el post
This commit is contained in:
parent
06e958710f
commit
66d1846cea
1 changed files with 0 additions and 1 deletions
|
@ -110,7 +110,6 @@ class PostTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'se puede cambiar la fecha' do
|
test 'se puede cambiar la fecha' do
|
||||||
assert_not @post.date.changed?
|
|
||||||
assert @post.date.valid?
|
assert @post.date.valid?
|
||||||
|
|
||||||
ex_date = @post.date.value
|
ex_date = @post.date.value
|
||||||
|
|
Loading…
Reference in a new issue