spec/coverage_helper.rb in lazier-1.0.1 vs spec/coverage_helper.rb in lazier-1.0.2
- old
+ new
@@ -5,15 +5,15 @@
#
require "simplecov"
require "pathname"
-if ENV["COWTECH_EXTENSIONS_COVERAGE"] == "TRUE" then
+if ENV["LAZIER_COVERAGE"] == "TRUE" then
root = Pathname.new(File.dirname(__FILE__)) + ".."
SimpleCov.start do
add_filter do |src_file|
path = Pathname.new(src_file.filename).relative_path_from(root).to_s
path !~ /^lib/
end
end
-end
\ No newline at end of file
+end