Capybara makes it easier to write integration tests. Its syntax is very similar to Webrat’s. The main difference between Capybara and Webrat is that Capybara has more architectural flexibility. It works with a variety of JavaScript-enabled browser simulators and–because it’s based on Rack–it works with any Rack-compatible web application or framework. Another advantage is that Capybara is compatible with Rails 3, but Webrat isn’t. Because Capybara is basically a more flexible Webrat, Capybara and Webrat are likely to merge.
Posts Tagged ‘rails3’
Rails 3 Online Conference Word Cloud
February 18th, 2010
No Comments
I used Wordle to create a word cloud from the chat transcript of the Exploring Rails 3 online conference.
Installing Rails 3 Beta with RVM and Ruby 1.8.7
February 7th, 2010
7 Comments
Jeremy McAnally posted some great instructions on installing Rails 3 beta. When I tried to install Rails 3 it complained that my Ruby version needed to be at least 1.8.7. Fair enough, I only had 1.8.6, and it was about time I upgraded.