removed phone_number and email

This commit is contained in:
Gopesh Tulsyan 2014-06-05 16:43:55 +05:30
parent b63f3fa7c9
commit 62c78641c2
5 changed files with 5 additions and 11 deletions

View file

@ -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