Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't abbreviate names

  • Loading branch information...
commit 93587b5374ec4e887e13a582c002072700703591 1 parent 6b6e911
@oriolgual oriolgual authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/spinach/runner/scenario_runner.rb
View
12 lib/spinach/runner/scenario_runner.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.