RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: migane
Problem is solved, not sure exactly why, but I can run Capybara now.
It is much more strict than Webrat and I have discovered some bugs in my application which did not show up with Webrat.
Thanks for this great episode.
Spork (which I'd installed beforehand together with autotest, webrat, and rspec) crashes.
Most probably I'm missing some code to make it run correctly with capybara.
I cannot get capybara to work on rails 3.1.0.rc5.
I wonder if somebody knows how to make it work.
Actually, you don't need to have a:
validates_presence_of :password, :on => :create
line in the User model, as under the hood there is a:
in ActiveModel lib under active_model/secure_password.rb.
Unfortunately, it has no option to customize the message, making it a nightmare for internationalization.
To use highcharts with Rails 3.1.rc4, I've just done the following:
1 - Upgrade to jquery-1.6.1, highcharts 2.1.6