test/helper.rb in yahns-1.6.0 vs test/helper.rb in yahns-1.7.0

- old
+ new

@@ -131,9 +131,19 @@ end skip "#{cmd} not found in PATH" false end +class DieIfUsed + def each + abort "body.each called after response hijack\n" + end + + def close + abort "body.close called after response hijack\n" + end +end + require 'yahns' # needed for parallel (MT) tests) require 'yahns/rack'