summaryrefslogtreecommitdiffstats
path: root/spec/support/submit_form_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/submit_form_helper.rb')
-rw-r--r--spec/support/submit_form_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/support/submit_form_helper.rb b/spec/support/submit_form_helper.rb
index 30816cf..b9a64aa 100644
--- a/spec/support/submit_form_helper.rb
+++ b/spec/support/submit_form_helper.rb
@@ -9,7 +9,9 @@ module SubmitFormHelper
within '#form-contact-info' do
fill_in 'Navn:', with: params['contact']['name']
- fill_in 'Postadresse:', with: params['contact']['addr']
+ fill_in 'Adresse:', with: params['contact']['street']
+ fill_in 'Postnr:', with: params['contact']['postcode']
+ fill_in 'Sted:', with: params['contact']['city']
fill_in 'Tlf:', with: params['contact']['phone']
fill_in 'E-post:', with: params['contact']['email']
end