mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
No need to validate input in tests anymore #2752
This commit is contained in:
parent
e463fe4d70
commit
cd9851df2f
2 changed files with 14 additions and 8 deletions
|
@ -45,7 +45,13 @@ feature 'Contact', type: :feature do
|
|||
visit '/registrar/contacts/new'
|
||||
current_path.should == '/registrar/contacts/new'
|
||||
|
||||
fill_in 'depp_contact_ident', with: 'bic-ident'
|
||||
fill_in 'depp_contact_ident', with: ''
|
||||
fill_in 'depp_contact_name', with: 'Business Name Ltd'
|
||||
fill_in 'depp_contact_email', with: 'example@example.com'
|
||||
fill_in 'depp_contact_street', with: 'Example street 12'
|
||||
fill_in 'depp_contact_city', with: 'Example City'
|
||||
fill_in 'depp_contact_zip', with: '123456'
|
||||
fill_in 'depp_contact_phone', with: '+372.12345678'
|
||||
click_button 'Create'
|
||||
|
||||
current_path.should == '/registrar/contacts'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue