Rakefile in rest-more-3.3.1 vs Rakefile in rest-more-3.3.2
- old
+ new
@@ -50,9 +50,13 @@
%w[yajl json].each{ |json|
Rake.sh "#{Gem.ruby} -S rake -r #{json} test"
}
end
+task 'test' do
+ SimpleCov.add_filter('rest-core/lib') if ENV['COV'] || ENV['CI']
+end
+
task 'test:travis' do
case ENV['RESTMORE']
when 'rails3'; Gemgem.test_rails('rails3')
else ; Rake::Task['test'].invoke
end