From 5e276175f12fbf48233f787eaa5c6d602e14c4ff Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 19 May 2017 18:49:00 +0200 Subject: [PATCH] updates texts on specs --- spec/features/budgets/results_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/budgets/results_spec.rb b/spec/features/budgets/results_spec.rb index c00562622..961dd287e 100644 --- a/spec/features/budgets/results_spec.rb +++ b/spec/features/budgets/results_spec.rb @@ -15,7 +15,7 @@ feature 'Results' do scenario "Diplays winner investments" do visit budget_path(budget) - click_link "Results" + click_link "See results" within("#budget-investments-results") do expect(page).to have_content investment1.title @@ -30,7 +30,7 @@ feature 'Results' do scenario "Displays non winner investments", :js do visit budget_path(budget) - click_link "Results" + click_link "See results" click_link "Show all" within("#budget-investments-results") do