Description: load configuration for rspec/autorun
Author: Christian Hofstaedtler <zeha@debian.org>
Origin: vendor
Bug: https://github.com/rspec/rspec-core/issues/1931
---

rspec/autorun itself apparently never touches the configuration, thus
the default of expose_dsl_globally isn't applied. This makes RSpec 3
backwards incompatible with 2.x.

--- a/rspec-core/lib/rspec/core/runner.rb
+++ b/rspec-core/lib/rspec/core/runner.rb
@@ -14,6 +14,7 @@
       #       the `ruby` command, and even then, the normal way to invoke
       #       this is by requiring `rspec/autorun`.
       def self.autorun
+        RSpec.configuration
         if autorun_disabled?
           RSpec.deprecate("Requiring `rspec/autorun` when running RSpec via the `rspec` command")
           return
