From a36c7e02df47855a4d75b85419a4d03178792034 Mon Sep 17 00:00:00 2001 From: Ian White Date: Thu, 15 Oct 2009 21:10:39 +0100 Subject: [PATCH] Fix cucumber 0.4 compat issues --- features/support/env.rb | 2 -- features/support/paths.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/features/support/env.rb b/features/support/env.rb index 98128a42..77a4d0fd 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -5,8 +5,6 @@ require 'cucumber/formatter/unicode' -Cucumber::Rails.use_transactional_fixtures - require 'webrat' Webrat.configure do |config| diff --git a/features/support/paths.rb b/features/support/paths.rb index cd932151..fae8a8a6 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -8,7 +8,7 @@ module NavigationHelpers def path_to(page_name) case page_name - when /the homepage/ + when /the home\s?page/ '/' # Add more mappings here.