Rakefile in mobylette-1.0.0 vs Rakefile in mobylette-1.1.0
- old
+ new
@@ -31,7 +31,12 @@
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
+require 'metric_fu'
+MetricFu::Configuration.run do |config|
+ config.rcov[:test_files] = ['spec/**/*_spec.rb']
+ config.rcov[:rcov_opts] << "-Ispec" # Needed to find spec_helper
+end
task :default => :test