Validate e-mail when country is other than estonia

This commit is contained in:
Martin Lensment 2014-09-30 12:55:21 +03:00
parent 0dc0cc63d9
commit 42b1890bf5
4 changed files with 20 additions and 4 deletions

View file

@ -7,6 +7,7 @@
# Mayor.create(name: 'Emanuel', city: cities.first)
Country.where(name: 'Estonia', iso: 'EE').first_or_create
Country.where(name: 'Latvia', iso: 'LV').first_or_create
zone = Registrar.where(
name: 'Zone Media OÜ',