method
run_after_all
1.1.12 -
Show latest stable
- Class:
Spec::Example::ExampleGroupMethods
run_after_all(success, instance_variables, run_options)private
No documentation available.
# File lib/spec/example/example_group_methods.rb, line 291
def run_after_all(success, instance_variables, run_options)
after_all = new("after(:all)")
after_all.set_instance_variables_from_hash(instance_variables)
example_group_hierarchy.reverse.each do |example_group_class|
after_all.eval_each_fail_slow(example_group_class.after_all_parts)
end
return success
rescue Exception => e
run_options.reporter.failure(after_all, e)
return false
end