Skip to content

Commit

Permalink
ajout de test pour should accept_nested_attributes_for
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrienblanc authored and etienneCharignon committed Sep 2, 2022
1 parent a67cd2b commit 0c60f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/models/evaluation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
it { is_expected.to validate_presence_of :nom }
it { is_expected.to validate_presence_of :debutee_le }
it { is_expected.to belong_to :campagne }
it { should accept_nested_attributes_for :beneficiaire }
it { is_expected.to have_one :condition_passation }
end

0 comments on commit 0c60f62

Please sign in to comment.