Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't abbreviate names

  • Loading branch information...
commit 93587b5374ec4e887e13a582c002072700703591 1 parent 6b6e911
Oriol Gual authored February 12, 2012

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 12  lib/spinach/runner/scenario_runner.rb
12  lib/spinach/runner/scenario_runner.rb
@@ -96,14 +96,14 @@ def run_step(step)
96 96
         step_location = step_definitions.step_location_for(step.name)
97 97
         step_definitions.execute(step)
98 98
         hooks.run_on_successful_step step, step_location
99  
-      rescue *Spinach.config[:failure_exceptions] => e
100  
-        @exception = e
  99
+      rescue *Spinach.config[:failure_exceptions] => exception
  100
+        @exception = exception
101 101
         hooks.run_on_failed_step step, @exception, step_location
102  
-      rescue Spinach::StepNotDefinedException => e
103  
-        @exception = e
  102
+      rescue Spinach::StepNotDefinedException => exception
  103
+        @exception = exception
104 104
         hooks.run_on_undefined_step step, @exception
105  
-      rescue Exception => e
106  
-        @exception = e
  105
+      rescue Exception => exception
  106
+        @exception = exception
107 107
         hooks.run_on_error_step step, @exception, step_location
108 108
       end
109 109
 

0 notes on commit 93587b5

Please sign in to comment.
Something went wrong with that request. Please try again.