Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Andrew Premdas's Profile

GitHub User: diabolo


Comments by Andrew Premdas


I suspect your test is so slow because of page.should_not have_content. Instead use page.should have_no_content

The first one will wait and see if the content appears. The second will test straight away that there is no content.