Merge branch 'spinach_random_fix' into 'master'

Spinach fix

/cc @rspeicher @rdavila 

See merge request !2263
This commit is contained in:
Valery Sizov 2015-12-31 14:57:45 +00:00
commit 2c1f8e2d15

View file

@ -24,7 +24,7 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
page.within '.awards' do page.within '.awards' do
expect do expect do
page.find('.award.active').click page.find('.award.active').click
sleep 0.1 sleep 0.3
end.to change{ page.all(".award").size }.from(3).to(2) end.to change{ page.all(".award").size }.from(3).to(2)
end end
end end