Module: MotionSpec::ContextHelper::Should
- Included in:
- MotionSpec::Context
- Defined in:
- lib/motion-spec/context_helper/should.rb
Instance Method Summary collapse
Instance Method Details
#should(*args, &block) ⇒ Object
5 6 7 8 9 |
# File 'lib/motion-spec/context_helper/should.rb', line 5 def should(*args, &block) return it('should ' + args.first, &block) if Counter[:depth] == 0 super(*args, &block) end |