Class: RSpec::Core::Reporter

Inherits:
Object
  • Object
show all
Defined in:
opal/opal/rspec/async/reporter.rb

Instance Method Summary collapse

Instance Method Details

#report_async(expected_example_count) ⇒ Object



2
3
4
5
6
7
8
# File 'opal/opal/rspec/async/reporter.rb', line 2

def report_async(expected_example_count)
  start(expected_example_count)
  yield(self).ensure do |result|
    finish
    result
  end
end