Sign in through GitHub

Please read for an updated status on RailsCasts:

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.