Permalink
Browse files

add haunt.js

  • Loading branch information...
1 parent 4661740 commit 0bf73885b497fc53def57158a67a47246a0e0a4c @fat committed Jun 30, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 haunt.js
View
@@ -0,0 +1,15 @@
+module.exports = {
+
+ 'issue': {
+
+ 'should include a <3 in the description': function (assert, haunt) {
+ assert.ok(/<3/.test(haunt.description));
+ },
+
+ 'after': function (haunt) {
+ if (!haunt.failed.length) haunt.tag('<3');
+ }
+
+ }
+
+}

0 comments on commit 0bf7388

Please sign in to comment.