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:
Dan Kubb 2013-04-17 19:04:49 -07:00
parent c00d39d855
commit bf06f6b056

View file

@ -17,7 +17,9 @@ module Mutant
#
def run
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
# Return command line arguments