Fix code to no longer reference non-existent methods
* This code is not final, but I could not figure out a clean way to reference the error and output stream from this method.
This commit is contained in:
parent
c00d39d855
commit
bf06f6b056
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ module Mutant
|
||||||
#
|
#
|
||||||
def run
|
def run
|
||||||
mutation.insert
|
mutation.insert
|
||||||
!!::RSpec::Core::Runner.run(command_line_arguments, strategy.error_stream, strategy.output_stream).nonzero?
|
# TODO: replace with real streams from configuration
|
||||||
|
null = StringIO.new
|
||||||
|
!::RSpec::Core::Runner.run(command_line_arguments, null, null).zero?
|
||||||
end
|
end
|
||||||
|
|
||||||
# Return command line arguments
|
# Return command line arguments
|
||||||
|
|
Loading…
Add table
Reference in a new issue