lib/sniff/rake_tasks.rb in sniff-0.4.9 vs lib/sniff/rake_tasks.rb in sniff-0.4.10
- old
+ new
@@ -134,11 +134,11 @@
test_tasks = []
test_tasks << :examples if rspec
test_tasks << :features if cucumber
unless test_tasks.empty?
- task :default => test_tasks.first
task :test => test_tasks
+ task :default => :test
end
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""