lib/pork/test.rb in pork-1.0.4 vs lib/pork/test.rb in pork-1.1.0

- old
+ new

@@ -2,12 +2,12 @@ require 'pork/auto' require 'muack' copy do before do - Muack::API.stub(Pork::Executor.all_tests).keys.peek_return do |names| - names.reject do |n| - n =~ /^Pork::(Isolate|Shuffle|Parallel) / + Muack::API.stub(Pork::Executor).all_tests.peek_return do |tests| + tests.reject do |name, _| + name =~ /^Pork::(Isolate|Shuffle|Parallel): / end end end after do