fights a flaky spec

This commit is contained in:
Juanjo Bazán
2016-10-20 16:25:36 +02:00
committed by kikito
parent 76a4f420eb
commit 7b3c9b725c

View File

@@ -112,7 +112,11 @@ feature 'Account' do
end
scenario 'Errors editing credentials' do
visit account_path
visit root_path
click_link "My account"
expect(current_path).to eq(account_path)
click_link 'Change my credentials'
click_button 'Update'