removed phone_number and email
This commit is contained in:
parent
b63f3fa7c9
commit
62c78641c2
5 changed files with 5 additions and 11 deletions
|
|
@ -15,8 +15,8 @@ describe Organization do
|
|||
should validate_presence_of(:website_url)
|
||||
end
|
||||
|
||||
it 'is not valid with a duplicate email' do
|
||||
should validate_uniqueness_of(:email)
|
||||
it 'is not valid with a duplicate website_url' do
|
||||
should validate_uniqueness_of(:website_url)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue