Module: Insta::RSpec::Hooks

Defined in:
lib/insta/rspec/hooks.rb,
sig/insta/rspec/hooks.rbs

Class Method Summary collapse

Class Method Details

.install!void

This method returns an undefined value.

: () -> void



7
8
9
10
11
12
13
14
15
# File 'lib/insta/rspec/hooks.rb', line 7

def self.install!
  ::RSpec.configure do |config|
    config.include(Matchers)

    config.after(:suite) do
      PendingReporter.flush_and_report!
    end
  end
end