diff --git a/test/system/registration_test.rb b/test/system/registration_test.rb index 0ebe8f3..e8329c2 100644 --- a/test/system/registration_test.rb +++ b/test/system/registration_test.rb @@ -7,8 +7,15 @@ class RegistrationTest < ApplicationSystemTestCase visit new_user_registration_url fill_in 'user_email', with: 'email@email.com' - fill_in 'user_first_name', with: 'Name' + fill_in 'user_first_name', with: 'Name' fill_in 'user_last_name', with: 'Cognome' + fill_in 'club_name', with: 'Club Name' + fill_in 'club_email', with: 'email@club.com' + fill_in 'club_address', with: 'via delle vie' + fill_in 'club_postal_code', with: '12345' + fill_in 'club_municipality', with: 'comune' + fill_in 'club_province', with: 'RO' + fill_in 'club_tax_code', with: '123432123' fill_in 'user_password', with: 'password' fill_in 'user_password_confirmation', with: 'password'