Permalink
Browse files

Add -Ispec to rcov_opts in spec:rcov rake task.

- Closes #229.
  • Loading branch information...
1 parent 17816d2 commit 2644b79ca86b6395185a6741e73007b3e0661c02 @dchelimsky dchelimsky committed Oct 5, 2010
Showing with 8 additions and 1 deletion.
  1. +7 −0 History.md
  2. +1 −1 lib/rspec/rails/tasks/rspec.rake
View
7 History.md
@@ -1,5 +1,12 @@
## rspec-rails release history (incomplete)
+### 2.0.0 / in development
+
+[full changelog](http://github.com/rspec/rspec-rails/compare/v2.0.0.beta.22...master)
+
+* Bug fixes
+ * Fix spec:rcov rake task (was not including -Ispec in rcov_opts)
+
### 2.0.0.rc / 2010-10-05
[full changelog](http://github.com/rspec/rspec-rails/compare/v2.0.0.beta.22...v2.0.0.rc)
View
2 lib/rspec/rails/tasks/rspec.rake
@@ -23,7 +23,7 @@ namespace :spec do
RSpec::Core::RakeTask.new(:rcov => spec_prereq) do |t|
t.rcov = true
t.pattern = "./spec/**/*_spec.rb"
- t.rcov_opts = '--exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-'
+ t.rcov_opts = "-Ispec --exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-"
end
task :statsetup do

0 comments on commit 2644b79

Please sign in to comment.