cukerail 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cukerail/version.rb +1 -1
- data/lib/cukerail.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a2a5ca3de4c40fb8d4836055d6f55ab3c7fa894
|
4
|
+
data.tar.gz: edc4e517f164630e324853ab41d75aae8652cb92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 613ad954be0a3c39c8677a1f7b6f65e441cddbff7492b0fcf7511dce210a6434d149a11e1f51714d28ee8b0c2b02937025f72b887035d303419b2ffb4afafa7e
|
7
|
+
data.tar.gz: 8c62d4d28ec0dcf64116ff580676caea9f1beb9fc6b3ba59219b1d4825a52daed874901f6a0233dfbf65386b495825a54afe7bb0fee924d31f3df23b3d720cea
|
data/lib/cukerail/version.rb
CHANGED
data/lib/cukerail.rb
CHANGED
@@ -132,6 +132,9 @@ module Cukerail
|
|
132
132
|
if @failed_step[:step].source.last.is_a?(Cucumber::Hooks::BeforeHook)
|
133
133
|
failed_step = 'failed in the before hook'
|
134
134
|
location = 'before hook'
|
135
|
+
elsif @failed_step[:step].source.last.is_a?(Cucumber::Hooks::AfterHook)
|
136
|
+
failed_step = 'failed in the after hook'
|
137
|
+
location = 'after hook'
|
135
138
|
else
|
136
139
|
failed_step = "#{@failed_step[:step].source.last.keyword}#{@failed_step[:step].source.last.name}"
|
137
140
|
location=@failed_step[:step].source.last.file_colon_line
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cukerail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Small
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|