Skip to content

Commit

Permalink
Don't abbreviate names
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolgual committed Feb 12, 2012
1 parent 6b6e911 commit 93587b5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/spinach/runner/scenario_runner.rb
Expand Up @@ -96,14 +96,14 @@ def run_step(step)
step_location = step_definitions.step_location_for(step.name)
step_definitions.execute(step)
hooks.run_on_successful_step step, step_location
rescue *Spinach.config[:failure_exceptions] => e
@exception = e
rescue *Spinach.config[:failure_exceptions] => exception
@exception = exception
hooks.run_on_failed_step step, @exception, step_location
rescue Spinach::StepNotDefinedException => e
@exception = e
rescue Spinach::StepNotDefinedException => exception
@exception = exception
hooks.run_on_undefined_step step, @exception
rescue Exception => e
@exception = e
rescue Exception => exception
@exception = exception
hooks.run_on_error_step step, @exception, step_location
end

Expand Down

0 comments on commit 93587b5

Please sign in to comment.