Remove duplicate expectations in executions test
We were checking the same thing twice.
This commit is contained in:
@@ -18,12 +18,6 @@ describe "Executions" do
|
|||||||
|
|
||||||
visit budget_executions_path(budget)
|
visit budget_executions_path(budget)
|
||||||
within(".budgets-stats") { expect(page).to have_content budget.name }
|
within(".budgets-stats") { expect(page).to have_content budget.name }
|
||||||
|
|
||||||
visit budget_executions_path("budget_slug")
|
|
||||||
within(".budgets-stats") { expect(page).to have_content budget.name }
|
|
||||||
|
|
||||||
visit budget_executions_path(budget)
|
|
||||||
within(".budgets-stats") { expect(page).to have_content budget.name }
|
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario "only displays investments with milestones" do
|
scenario "only displays investments with milestones" do
|
||||||
|
|||||||
Reference in New Issue
Block a user