Class: Spec::Runner::Heckler

Inherits:
Heckle
  • Object
show all
Defined in:
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.



65
66
67
68
# File 'lib/spec/runner/heckle_runner.rb', line 65

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)


70
71
72
# File 'lib/spec/runner/heckle_runner.rb', line 70

def tests_pass?
  @rspec_options.run_examples
end