From 415dac3ae3092e75128c49968d4595b2d019aa4d Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 28 Aug 2015 21:12:56 +1000 Subject: [PATCH] Updating spec for new Login label --- spec/features/consumer/shopping/checkout_auth_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/features/consumer/shopping/checkout_auth_spec.rb b/spec/features/consumer/shopping/checkout_auth_spec.rb index 8b4f3bb977..b9b2a15e33 100644 --- a/spec/features/consumer/shopping/checkout_auth_spec.rb +++ b/spec/features/consumer/shopping/checkout_auth_spec.rb @@ -33,15 +33,15 @@ feature "As a consumer I want to check out my cart", js: true do it "renders the login buttons when logged out" do visit checkout_path within "section[role='main']" do - page.should have_content "Log in" - click_button "Log in" + page.should have_content "Login" + click_button "Login" end page.should have_login_modal end it "populates user details once logged in" do visit checkout_path - within("section[role='main']") { click_button "Log in" } + within("section[role='main']") { click_button "Login" } page.should have_login_modal fill_in "Email", with: user.email fill_in "Password", with: user.password