Reenable 'winners' tab under Admin::Budget::Investment

This commit is contained in:
Angel Perez
2018-01-19 09:45:02 -04:00
parent a79e60ecd1
commit 1027896617
5 changed files with 11 additions and 8 deletions

View File

@@ -646,12 +646,12 @@ feature 'Admin budget investments' do
expect(page).to have_content(selected_bi.title)
expect(page).to have_content(winner_bi.title)
# within('#filter-subnav') { click_link 'Winners' }
# expect(page).not_to have_content(unfeasible_bi.title)
# expect(page).not_to have_content(feasible_bi.title)
# expect(page).not_to have_content(feasible_vf_bi.title)
# expect(page).not_to have_content(selected_bi.title)
# expect(page).to have_content(winner_bi.title)
within('#filter-subnav') { click_link 'Winners' }
expect(page).not_to have_content(unfeasible_bi.title)
expect(page).not_to have_content(feasible_bi.title)
expect(page).not_to have_content(feasible_vf_bi.title)
expect(page).not_to have_content(selected_bi.title)
expect(page).to have_content(winner_bi.title)
end
scenario "Showing the selection buttons", :js do