Skip to content

Commit

Permalink
Merge 89f5e78 into 2dc10f4
Browse files Browse the repository at this point in the history
  • Loading branch information
taitus committed Feb 21, 2023
2 parents 2dc10f4 + 89f5e78 commit c924dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/system/admin/stats_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

describe "Budget investments" do
context "Supporting phase" do
let(:budget) { create(:budget) }
let!(:budget) { create(:budget) }
let(:heading_all_city) { create(:budget_heading, budget: budget) }

scenario "Number of users and supports in investment projects" do
Expand All @@ -106,6 +106,7 @@
click_link "Supporting phase"
end

expect(page).to have_css "#graph"
expect(page).to have_content "VOTES\n3"
expect(page).to have_content "PARTICIPANTS\n2"
expect(page).to have_link "Go back", count: 1
Expand Down

0 comments on commit c924dbc

Please sign in to comment.