lib/test_queue/runner/rspec.rb in test-queue-0.1.2 vs lib/test_queue/runner/rspec.rb in test-queue-0.1.3
- old
+ new
@@ -3,22 +3,21 @@
module RSpec::Core
class QueueRunner < CommandLine
def initialize
super(ARGV)
+ @configuration.output_stream = $stdout
+ @configuration.error_stream = $stderr
end
def example_groups
@options.configure(@configuration)
@configuration.load_spec_files
@world.announce_filters
@world.example_groups
end
def run_each(iterator)
- @configuration.error_stream = $stderr
- @configuration.output_stream = $stdout
-
@configuration.reporter.report(0, @configuration.randomize? ? @configuration.seed : nil) do |reporter|
begin
@configuration.run_hook(:before, :suite)
iterator.map {|g|
print " #{g.description}: "