Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Andrew Premdas's Profile

GitHub User: diabolo

Site: blog.andrew.premdas.org

Comments by Andrew Premdas

Avatar

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.