Skip to content

Instantly share code, notes, and snippets.

@dabit
Created September 6, 2011 22:00
Show Gist options
  • Save dabit/1199113 to your computer and use it in GitHub Desktop.
Save dabit/1199113 to your computer and use it in GitHub Desktop.
SimpleCov.at_exit do
percent = SimpleCov.result.covered_percent
unless percent == 100.0
puts "Coverage is not at 100% !!!!"
Kernel.exit(1)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment