Class: Spec::Runner::Heckler

Inherits:
Heckle
  • Object
show all
Defined in:
lib/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(klass_name, method_name, rspec_options) ⇒ Heckler

Returns a new instance of Heckler.



60
61
62
63
# File 'lib/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb', line 60

def initialize(klass_name, method_name, rspec_options)
  super(klass_name, method_name)
  @rspec_options = rspec_options
end

Instance Method Details

#tests_pass?Boolean

Returns:

  • (Boolean)


65
66
67
# File 'lib/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb', line 65

def tests_pass?
  @rspec_options.run_examples
end