Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

`require 'rspec/autorun'` when running rcov

- Fixes #370.
  • Loading branch information...
commit 90db0907e378c6551895b6a36fdde92d04e056c7 1 parent 899c679
@dchelimsky dchelimsky authored
Showing with 3 additions and 0 deletions.
  1. +1 −0  features/Changelog.md
  2. +2 −0  lib/rspec/core.rb
View
1  features/Changelog.md
@@ -4,6 +4,7 @@
* Bug fixes
* Don't extend nil when filters are nil
+ * `require 'rspec/autorun'` when running rcov.
### 2.6.0 / 2011-05-12
View
2  lib/rspec/core.rb
@@ -26,6 +26,8 @@
require 'rspec/core/version'
require 'rspec/core/errors'
+require 'rspec/autorun' if $0.split(File::SEPARATOR).last == 'rcov'
+
module RSpec
autoload :Matchers, 'rspec/matchers'
Please sign in to comment.
Something went wrong with that request. Please try again.