Rakefile in groupie-0.1.0 vs Rakefile in groupie-0.1.1
- old
+ new
@@ -17,20 +17,20 @@
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
require 'rake/testtask'
-Rake::TestTask.new(:test) do |test|
- test.libs << 'lib' << 'test'
- test.pattern = 'test/**/*_test.rb'
+Rake::TestTask.new(:spec) do |test|
+ test.libs << 'lib' << 'spec'
+ test.pattern = 'spec/**/*_spec.rb'
test.verbose = true
end
begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/*_test.rb'
+ test.libs << 'spec'
+ test.pattern = 'spec/**/*_spec.rb'
test.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"