method
run_after_all
1.3.1 -
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 226
def run_after_all(success, instance_variables, run_options)
return success if example_group_hierarchy.after_all_parts.empty?
example_proxy = ExampleProxy.new("after(:all)")
after_all = new(example_proxy)
after_all.set_instance_variables_from_hash(instance_variables)
example_group_hierarchy.run_after_all(after_all)
success
rescue Exception => e
run_options.reporter.example_failed(example_proxy, e)
false
end