patricklindsay / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
http://wicegrid.herokuapp.com/
MIT License
33 stars 29 forks source link

Remove sleep calls from specs #28

Closed JasonBarnabe closed 6 years ago

JasonBarnabe commented 6 years ago

grep -R sleep spec | grep -v "#" | wc -l

There are 82 uses of sleep in the specs. Most are for 1 second. Proper use of Capybara matchers should eliminate most of these and speed up the tests.

JasonBarnabe commented 6 years ago

I think there may some tests that fail without these due to turbolinks... Not sure how to handle that.

JasonBarnabe commented 6 years ago

Working on this.