Sha256: eb0d6bbb67725238b50035074d376d2203ad86d56441b0f90be0e029552dfd1a

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# await: *await*

class ::RSpec::Core::Reporter
  def report_await(expected_example_count)
    # WAS:
    #   start(expected_example_count)
    #   begin
    #     yield self
    #   ensure
    #     finish
    #   end
    # NOW:
    start(expected_example_count)
    begin
      yield(self).await
    ensure
      finish
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-rspec-1.1.0.alpha3 lib-opal/opal/rspec/async/reporter.rb
opal-rspec-1.1.0.alpha2 lib-opal/opal/rspec/async/reporter.rb
opal-rspec-1.1.0.alpha1 lib-opal/opal/rspec/async/reporter.rb
opal-rspec-1.0.0 lib-opal/opal/rspec/async/reporter.rb
opal-rspec-1.0.0.alpha1 lib-opal/opal/rspec/async/reporter.rb