From 1a3e38b89cf04d590cdc529384d4780fe9f5d62c Mon Sep 17 00:00:00 2001 From: Jonas Nicklas Date: Tue, 10 Jul 2012 11:23:24 +0200 Subject: [PATCH] Fix cukes --- features/step_definitions/capybara_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/capybara_steps.rb b/features/step_definitions/capybara_steps.rb index 2e08d007..a25a5700 100644 --- a/features/step_definitions/capybara_steps.rb +++ b/features/step_definitions/capybara_steps.rb @@ -19,6 +19,6 @@ When /^I use a matcher that fails$/ do end Then /^the failing exception should be nice$/ do - @error_message.should =~ %r(expected css \"h1#doesnotexist\" to return) + @error_message.should =~ %r(expected to find css \"h1#doesnotexist\") end