I’m testing a Rails 3 app with Rspec and Capybara.
watched #257 Request Specs and Capybara - RailsCasts
which presents the basics very well.
It seems characters are encoded by Capybara or Selenium so this js
loop crashes because of the <:
Uncaught SyntaxError: Unexpected token ;
I did put:
in my head so I can’t understand the problem.