module Spec::Example::ExampleMethods

def eval_each_fail_slow(blocks) # :nodoc:

:nodoc:
def eval_each_fail_slow(blocks) # :nodoc:
  first_exception = nil
  blocks.each do |block|
    begin
      instance_eval(&block)
    rescue Exception => e
      first_exception ||= e
    end
  end
  raise first_exception if first_exception
end