diff --git a/spec/support/models/name.rb b/spec/support/models/name.rb index 857c8e718..e81c24831 100644 --- a/spec/support/models/name.rb +++ b/spec/support/models/name.rb @@ -30,6 +30,7 @@ def set_parent=(set = false) def is_not_jamis return unless first_name == 'Jamis' && last_name == 'Buck' + errors.add(:base, :invalid) end end