Add title to budget header

This commit is contained in:
decabeza
2021-05-06 12:18:16 +02:00
committed by taitus
parent 26d14cbd04
commit 4adb7236dc
3 changed files with 16 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ describe Budgets::BudgetComponent, type: :component do
render_inline Budgets::BudgetComponent.new(budget)
within(".budget-header") do
expect(page).to have_content("PARTICIPATORY BUDGETS")
expect(page).to have_content(budget.name)
expect(page).to have_content(budget.description)
expect(page).to have_link("Help with participatory budgets")