fixes specs

This commit is contained in:
rgarcia
2017-01-29 03:02:13 +01:00
parent ea701e9963
commit c74587d921
10 changed files with 29 additions and 24 deletions

View File

@@ -55,6 +55,8 @@ feature 'Valuation budget investments' do
end
scenario "Index filtering by heading", :js do
Capybara.current_driver = :poltergeist_no_js_errors
group = create(:budget_group, budget: @budget)
heading1 = create(:budget_heading, name: "District 9", group: group)
heading2 = create(:budget_heading, name: "Down to the river", group: group)