From 7a92d3559b9496ec753079321eccd5f0111bbc62 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Wed, 13 Jan 2010 21:52:04 +0100 Subject: [PATCH] get all cucumber stories running for default profile --- .gitignore | 1 + features/step_definitions/generic_steps.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1bd85063..1daf5e90 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ public/javascripts/cache public/stylesheets/cache tmp vendor/plugins/query_trace/ +rerun.txt diff --git a/features/step_definitions/generic_steps.rb b/features/step_definitions/generic_steps.rb index 64a6a267..1ef65177 100644 --- a/features/step_definitions/generic_steps.rb +++ b/features/step_definitions/generic_steps.rb @@ -1,4 +1,4 @@ -Then "the badge should show (.*)" do |number| +Then /the badge should show (.*)/ do |number| badge = -1 response.should have_xpath("//span[@id='badge_count']") do |node| badge = node.first.content.to_i