Class: Megatest::State::MethodTest
Instance Attribute Summary
Attributes inherited from Test
#index, #klass, #name, #source_file, #source_line
Instance Method Summary collapse
Methods inherited from Test
#<=>, #==, #around_callbacks, #each_setup_callback, #each_teardown_callback, #hash, #id, #included_by, #inherited?, #inherited_by, #initialize, #inspect, #location_id, #tag, #tags
Constructor Details
This class inherits a constructor from Megatest::State::Test
Instance Method Details
#execute(runtime, instance) ⇒ Object
405 406 407 |
# File 'lib/megatest/state.rb', line 405 def execute(runtime, instance) runtime.record_failures(downlevel: 2) { @callable.bind_call(instance) } end |