-
Run
bundle update cucumber capybara cucumber-railsto update to the newest versions. -
Backup your
features/support/path.rbto be able to add your own paths again after the cucumber installation script in step 4. -
Backup your
features/support/env.rbfile to be able to reintegrate parts like your blueprints setup:ENV["RAILS_ENV"] ||= "cucumber" require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') require 'spec/support/blueprints' -
Run
$ rails generate cucumber:install --capybarato integrate cucumber/capybara into your rails project. -
Run your tests and fix error messages by reintegrating parts from your backed up files.
Posted by Dominik Schöler to makandra dev (2015-01-16 08:38)