When trying to get Capybara-rspec working I went googling first, to see how others have done it… People suck and generally over complicate the simplest tasks… Heres how I got it all working! # Gemfile gem ‘rspec-rails’ gem ‘capybara’ gem ‘swinger’ Add rspec rails, capybara and swinger, then install your gems and generate rspec [...]
Archives for the ‘Testing’ Category
Rails3 With Cucumber, Rspec
Sunday, 22 August 2010
Initially I had a few problems getting rspec and cucumber (especially gherkin) working with rails3 beta and ruby 1.9.2! Mainly these problems I ran into seemed to deal with bundler. So easy enough, to get cucumber and rspec working, add the following to your Gemfile group :test do gem ‘webrat’ gem ‘rspec’ gem ‘capybara’ gem [...]
Hudson Ci Server Running Selenium/Webdriver Cucumber In Headless Mode Xvfb
Thursday, 1 July 2010
I was determined to get our CI server running cucumber features in headless mode. I ran into a few webdriver problems which resulting in a small monkey patch (capybara patch being written and submitted) for capybara. This is how I got it running on a fedora 12 server (and some tips on getting it working [...]