Method: Tokyo::Unit.skip
- Defined in:
- lib/tokyo/unit.rb
.skip(reason = nil) ⇒ Object
skipping a whole spec/context
175 176 177 |
# File 'lib/tokyo/unit.rb', line 175 def skip reason = nil throw(:__tokyo_skip__, Tokyo::Skip.new(reason, caller[0])) end |