barthes 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/barthes/reporter/default.rb +1 -1
- data/lib/barthes/version.rb +1 -1
- metadata +1 -1
@@ -24,7 +24,7 @@ module Barthes
|
|
24
24
|
puts indent scenarios.size + 1, "response:"
|
25
25
|
puts indent scenarios.size + 2, JSON.pretty_generate(action['response'])
|
26
26
|
end
|
27
|
-
expectations = action['expectations']
|
27
|
+
expectations = action['expectations'] || []
|
28
28
|
expectations.each do |expectation|
|
29
29
|
if expectation['result'] == false
|
30
30
|
puts indent scenarios.size + 1, "failed expectation:"
|
data/lib/barthes/version.rb
CHANGED