Method: MotionSpec.context_did_finish
- Defined in:
- lib/motion-spec/core.rb
.context_did_finish(_context) ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/motion-spec/core.rb', line 77 def self.context_did_finish(_context) return if Platform.android? handle_specification_end Counter[:context_depth] -= 1 if (@current_context_index + 1) < @contexts.size @current_context_index += 1 return run end handle_summary exit(Counter.values_at(:failed, :errors).inject(:+)) end |