From 1a7668b85dd3fc0dc83c32d84a98f3e01a96ee09 Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Wed, 1 Jun 2011 16:40:03 +0200 Subject: [PATCH] Removing debugger statements --- features/step_definitions/_given_steps.rb | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/features/step_definitions/_given_steps.rb b/features/step_definitions/_given_steps.rb index 5ba6c19523..246eae4ca2 100644 --- a/features/step_definitions/_given_steps.rb +++ b/features/step_definitions/_given_steps.rb @@ -155,12 +155,7 @@ Given /^the [pP]roject(?: "([^\"]*)")? has the following stories in the followin # NOTE: We're bypassing the controller here because we're just # setting up the database for the actual tests. The actual tests, # however, should NOT bypass the controller - begin - s = Story.create_and_position params - rescue - debugger - true - end + s = Story.create_and_position params prev_id = s.id end end @@ -198,12 +193,7 @@ Given /^the [pP]roject(?: "([^\"]*)")? has the following issues:$/ do |project_n # NOTE: We're bypassing the controller here because we're just # setting up the database for the actual tests. The actual tests, # however, should NOT bypass the controller - begin - Issue.create!(params) - rescue - debugger - raise - end + Issue.create!(params) end end