Do not consider attributes using the :unless option as required

Remove some of the factories introduced in commit 66334b5 as now we do
not need them anymore.

Co-Authored-By: Javi Martín <35156+javierm@users.noreply.github.com>
This commit is contained in:
Senén Rodero Rodríguez
2021-11-05 11:53:46 +01:00
parent 21170d0f24
commit 30afb64bac
7 changed files with 30 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ describe Proposal do
it_behaves_like "has_public_author"
it_behaves_like "notifiable"
it_behaves_like "map validations"
it_behaves_like "globalizable", :retired_proposal
it_behaves_like "globalizable", :proposal
it_behaves_like "sanitizable"
it_behaves_like "acts as paranoid", :proposal
end