Last active
August 29, 2015 14:06
-
-
Save joho/134ea76414a137b5152f to your computer and use it in GitHub Desktop.
For the ultimate in CI lols.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test/unit' | |
class TestTrollCowboyFixes < Test::Unit::TestCase | |
def test_how_you_didnt_actually_fix_it | |
if `git show --quiet HEAD --oneline` =~ /fixed it|fixes specs|quick fix/i | |
assert(false) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment