Ident type update #2834

This commit is contained in:
Priit Tark 2015-09-17 17:52:47 +03:00
parent 2a81641130
commit fd52172500
9 changed files with 32 additions and 25 deletions

View file

@ -62,7 +62,7 @@ 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: 'org-ident'
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'
@ -72,7 +72,7 @@ feature 'Contact', type: :feature do
click_button 'Create'
page.should have_text('Business Name Ltd')
page.should have_text('bic-ident [EE bic]')
page.should have_text('org-ident [EE org]')
end
it 'should create new contact with success' do