Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added async tests to example.

  • Loading branch information...
commit 7af1d82170238431af034e4a662f52a64c14df6f 1 parent 3ba58da
@quangv authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 examples/test.coffee
View
6 examples/test.coffee
@@ -51,6 +51,12 @@ Feature "Mix & Match", ->
it 'should work too', ->
true.should.eql true
+Feature "Async tests with Mocha-Cakes", ->
+ Given "I want to test async code", ->
+ When "I pass 'done' to GWT commands", ->
+ Then "It should wait for 'done' to be done.", (done)->
+ done()
+
# Run with
# mocha examples/test.coffee -R spec -r should
#
Please sign in to comment.
Something went wrong with that request. Please try again.