fix: Standardize name validation on agent / profile pages (#1720)
This commit is contained in:
@@ -9,6 +9,7 @@ RSpec.describe User do
|
||||
context 'validations' do
|
||||
it { is_expected.to validate_presence_of(:email) }
|
||||
it { is_expected.to validate_presence_of(:name) }
|
||||
it { is_expected.to validate_length_of(:name).is_at_least(1) }
|
||||
end
|
||||
|
||||
context 'associations' do
|
||||
|
||||
Reference in New Issue
Block a user