Extract component to render an execution

Note that, in order to be consistent with the name of the component,
we're renaming the `budget-execution` class to
`budget-executions-investment`.
This commit is contained in:
Javi Martín
2024-03-10 21:57:11 +01:00
parent 764d22f57a
commit 75b03791b1
6 changed files with 78 additions and 71 deletions

View File

@@ -294,7 +294,7 @@ describe "Executions" do
visit budget_executions_path(budget)
expect(page).to have_css(".budget-execution", count: 3)
expect(page).to have_css(".budget-executions-investment", count: 3)
expect(a_heading.name).to appear_before(m_heading.name)
expect(m_heading.name).to appear_before(z_heading.name)
end