From c4e6c0af2bc08c63ba7c6ffac0f7dfe7d3b1af94 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Thu, 19 Sep 2019 20:18:24 +0100 Subject: [PATCH] Transpec features/consumer/registration_spec --- spec/features/consumer/registration_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!'