refactors votes_spec

This commit is contained in:
kikito
2015-10-20 19:44:46 +02:00
parent 1e08217b91
commit 49e1204140

View File

@@ -224,9 +224,7 @@ feature 'Votes' do
find('.in-favor a').click find('.in-favor a').click
expect(page).to have_content "1 support" expect(page).to have_content "1 support"
find('.in-favor a').click expect(page).to_not have_selector ".in-favor a"
expect(page).to have_content "1 support"
expect(page).to_not have_content "2 supports"
end end
end end