mardi 29 septembre 2015

How to test links with RSPEC

I have a side navigation menu and top navigation menu rendering using partials on all pages. On the welcome page, I am trying to check the clicks. I have this, but it is not working at the moment.

it "Checks the home link"
  get '/welcome'
  sleep 5
  page.should have_content("Basis tool")
end

Aucun commentaire:

Enregistrer un commentaire