sporadic spec fix

This commit is contained in:
Valery Sizov 2016-02-16 15:09:58 +02:00
parent bbbfdba0b9
commit 719b588998

View file

@ -46,6 +46,8 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
end
step 'I have award added' do
sleep 0.2
page.within '.awards' do
expect(page).to have_selector '.award'
expect(page.find('.award.active .counter')).to have_content '1'