Add type to budget index table

Co-Authored-By: decabeza <alberto@decabeza.es>
This commit is contained in:
Julian Herrero
2020-03-15 06:51:52 +01:00
committed by Javi Martín
parent 51bca66533
commit 17b4fb58c9
8 changed files with 110 additions and 12 deletions

View File

@@ -30,8 +30,10 @@ describe "Admin budgets", :admin do
budget = create(:budget, :accepting)
visit admin_budgets_path
expect(page).to have_content budget.name
expect(page).to have_content "Accepting projects"
within "tr", text: budget.name do
expect(page).to have_content "Accepting projects"
expect(page).to have_content "Pending: No headings yet"
end
end
scenario "Filters by phase" do