Permalink
Browse files

Change heckle task to raise when a spec file is missing

  • Loading branch information...
dkubb committed Apr 2, 2012
1 parent 56b39f6 commit 795ff79c5bddddcf9e2de11b39b1638f9364518f
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/metrics/heckle.rake
@@ -110,7 +110,7 @@ begin
spec_file = spec_prefix.join('class_methods').join(map.file_name(method, mod.name))
unless spec_file.file?
- warn "No spec file #{spec_file} for #{mod}.#{method}"
+ raise "No spec file #{spec_file} for #{mod}.#{method}"
next
end
@@ -125,7 +125,7 @@ begin
spec_file = spec_prefix.join(map.file_name(method, mod.name))
unless spec_file.file?
- warn "No spec file #{spec_file} for #{mod}##{method}"
+ raise "No spec file #{spec_file} for #{mod}##{method}"
next
end

0 comments on commit 795ff79

Please sign in to comment.