Method: RSpec::Core::Runner.invoke

Defined in:
lib/rspec/core/runner.rb

.invokevoid

Runs the suite of specs and exits the process with an appropriate exit code.



43
44
45
46
47
# File 'lib/rspec/core/runner.rb', line 43

def self.invoke
  disable_autorun!
  status = run(ARGV, $stderr, $stdout).to_i
  exit(status) if status != 0
end