class Object
Public Instance Methods
after_each(example)
click to toggle source
# File lib/test_construct/rspec_integration.rb, line 49 def after_each(example) return unless test_construct_enabled?(example) options = test_construct_options(example) teardown_construct( example.metadata[:construct], example.exception, options) end
before_each(example)
click to toggle source
# File lib/test_construct/rspec_integration.rb, line 43 def before_each(example) return unless test_construct_enabled?(example) options = test_construct_options(example) example.metadata[:construct] = setup_construct(options) end