Permalink
Browse files

OMG OMG quick write tests before somebody notices

  • Loading branch information...
1 parent 99e5adb commit 0885cba26cb0bbb2a6eb57731a58f4586e214df6 Marcin Bunsch committed May 29, 2011
Showing with 13 additions and 0 deletions.
  1. +12 −0 spec/public/omg_spec.js
  2. +1 −0 spec/spec_helper.js
View
12 spec/public/omg_spec.js
@@ -0,0 +1,12 @@
+describe('OMG', function() {
+ var OMG = require('./../../public/omg').OMG
+
+ it("should return a helpful message", function() {
+ OMG.shout().should_be("OMG! Same code!")
+ })
+
+ it("should not return a stupid message", function() {
+ OMG.shout().should_not_be("LOLWUT")
+ })
+
+})
View
1 spec/spec_helper.js
@@ -0,0 +1 @@
+require('jessie').sugar()

0 comments on commit 0885cba

Please sign in to comment.