Created
November 11, 2010 19:52
-
-
Save jbrown/673069 to your computer and use it in GitHub Desktop.
Patches the rake spec:rcov task for a rails project using RSpec 2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new('spec:rcov') do |t| | |
t.rcov = true | |
t.rcov_opts = '--rails --exclude "spec/*,gems/*"' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment