Method: RSpec::Daemon::Configuration#replay_configuration

Defined in:
lib/rspec/daemon/configuration.rb

#replay_configurationObject



33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/rspec/daemon/configuration.rb', line 33

def replay_configuration
  RSpec.configure do |config|
    self.config_proxy.recorded_messages.each do |method, args, block|
      # reporter caches config.output_stream which is not good as it
      # prevents the runner to use a custom stdout.
      next if method == :reporter

      config.send(method, *args, &block)
    end
  end

  forward_rspec_config_singleton_to(self.config_proxy)
end