Method: MotionSpec::Context#run
- Defined in:
- lib/motion-spec/context.rb
#run ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/motion-spec/context.rb', line 24 def run # TODO: return unless name =~ RestrictContext if Platform.android? @specifications.each(&:run) else spec = current_specification return spec.performSelector('run', withObject: nil, afterDelay: 0) if spec end MotionSpec.context_did_finish(self) end |