-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue#dcc2983 - Fix for preventing adding a Contributor via Contributor
page if both Name and Email are not present. Fixes DCC bug #2983 Changes: - Changes in Contributor model: - Renamed validation method name_or_email_presence() -> name_and_email_presence() - Updated conditions in name_and_email_presence() method to return errors if Name or Email missing. - Updated tests in spec/models/contributor_spec.rb and spec/services/api/v1/contextual_error_service_spec.rb to reflect change in Contributor model.
- Loading branch information
John Pinto
committed
Nov 4, 2021
1 parent
43c5b03
commit 26b4976
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters