diff --git a/app/views/layouts/_common_head.html.erb b/app/views/layouts/_common_head.html.erb index aad2c35e9..f78fe6d8d 100644 --- a/app/views/layouts/_common_head.html.erb +++ b/app/views/layouts/_common_head.html.erb @@ -14,3 +14,7 @@ + +<% if Rails.env.test? %> + +<% end %> diff --git a/spec/system/budgets/ballots_spec.rb b/spec/system/budgets/ballots_spec.rb index 981d26c12..2d35fc40b 100644 --- a/spec/system/budgets/ballots_spec.rb +++ b/spec/system/budgets/ballots_spec.rb @@ -444,6 +444,7 @@ describe "Ballots" do click_link "Go back" expect(page).to have_current_path(budget_investments_path(budget, heading_id: new_york.id)) + expect(page).to have_link "Check my votes" end scenario "before adding any investments" do @@ -459,6 +460,7 @@ describe "Ballots" do click_link "Go back" expect(page).to have_current_path(budget_investments_path(budget, heading_id: new_york.id)) + expect(page).to have_link "Check my votes" end end