Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #4 from lunks/fix-code-coverage
Browse files Browse the repository at this point in the history
Fix code coverage
  • Loading branch information
tapajos committed Nov 25, 2012
2 parents 49f22c2 + 0bb96d7 commit 0c56e0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ def self.with_full_coverage!
if SimpleCov.result.covered_percent < 100
SimpleCov.result.format!
exit(1)
else
puts "Congrats! Full code coverage!"
end
end
SimpleCov.start
Expand Down
2 changes: 1 addition & 1 deletion lib/tasks/integrate.rake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace :integration do
end

task :start => ["git:status_check", "log:clear", "tmp:clear", "backup:local", "git:pull"] do
ENV['coverage'] = 'on'
ENV['COVERAGE'] = 'on'
end
task :finish => ["git:push"]

Expand Down

0 comments on commit 0c56e0e

Please sign in to comment.