diff --git a/spec/features/consumer/registration_spec.rb b/spec/features/consumer/registration_spec.rb index bff616e5f0..f92db8835a 100644 --- a/spec/features/consumer/registration_spec.rb +++ b/spec/features/consumer/registration_spec.rb @@ -58,7 +58,7 @@ feature "Registration", js: true do # Filling in Contact Details fill_in 'enterprise_contact', with: 'Saskia Munroe' - page.should have_field 'enterprise_email_address', with: user.email + expect(page).to have_field 'enterprise_email_address', with: user.email fill_in 'enterprise_phone', with: '12 3456 7890' click_button "Continue" expect(page).to have_content 'Last step to add My Awesome Enterprise!'