fixes flaky spec

Visits directly the page to avoid flakiness
This commit is contained in:
rgarcia
2017-09-15 15:35:43 +02:00
parent 8e0f709cf0
commit eb89d92320

View File

@@ -390,8 +390,7 @@ feature 'Admin budget investments' do
budget_investment2 = create(:budget_investment)
visit admin_budget_budget_investment_path(budget_investment2.budget, budget_investment2)
click_link 'Edit classification'
visit edit_admin_budget_budget_investment_path(budget_investment2.budget, budget_investment2)
find('.js-add-tag-link', text: 'Education').click