Sha256: ab0bf192dff6948dd27dd2bd1e14c2a9d48f092bf68a44004cd5eb7b0e5d8f06
Contents?: true
Size: 887 Bytes
Versions: 3
Compression:
Stored size: 887 Bytes
Contents
module Pendings def pending_192(msg) if ZK.mri_19x? if block_given? pending(msg) { yield } else pending(msg) end else yield if block_given? end end def pending_187(msg) if ZK.mri_187? if block_given? pending(msg) { yield } else pending(msg) end else yield if block_given? end end def pending_jruby19(msg) if ZK.ruby_19? and ZK.jruby? if block_given? pending(msg) { yield } else pending(msg) end else yield if block_given? end end def pending_in_travis(msg) # defined in the somewhat ill-named 00_test_port_attr.rb if ZK.travis? if block_given? pending("TRAVIS: #{msg}") { yield } else pending("TRAVIS: #{msg}") end else yield if block_given? end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zk-1.2.0 | spec/support/pendings.rb |
zk-1.1.1 | spec/support/pendings.rb |
zk-1.1.0 | spec/support/pendings.rb |