spec/support/pendings.rb in zk-1.2.0 vs spec/support/pendings.rb in zk-1.3.0

- old
+ new

@@ -33,9 +33,21 @@ else yield if block_given? end end + def pending_rbx(msg) + if ZK.rubinius? + if block_given? + pending(msg) { yield } + else + pending(msg) + end + else + yield if block_given? + end + end + alias pending_rubinius pending_rbx def pending_in_travis(msg) # defined in the somewhat ill-named 00_test_port_attr.rb if ZK.travis? if block_given?