Skip to content

Commit

Permalink
migrando raketask pra rspec2
Browse files Browse the repository at this point in the history
  • Loading branch information
kivanio committed Sep 20, 2010
1 parent b93b9a5 commit f07dda9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Rakefile
Expand Up @@ -24,14 +24,12 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib'
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.rcov = true
spec.rcov_opts = ["--sort coverage", "--exclude /gems/,/Library/,features,script"]
end

Expand Down

0 comments on commit f07dda9

Please sign in to comment.