Method: MotionSpec::Context#wait
- Defined in:
- lib/motion-spec/context.rb
#wait(seconds = nil, &block) ⇒ Object
96 97 98 99 100 |
# File 'lib/motion-spec/context.rb', line 96 def wait(seconds = nil, &block) return current_specification.schedule_block(seconds, &block) if seconds current_specification.postpone_block(&block) end |