Created
January 25, 2017 08:44
-
-
Save martsie/6df597dcb175d1d134c124ebfda0ae1b to your computer and use it in GitHub Desktop.
Qunit test class for a CoffeeScript class
This file contains hidden or 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
QUnit.module 'Person class' | |
test 'Full name is printed correctly', -> | |
person = new Person('James', 'Bond') | |
equal 'James Bond', do person.fullName, 'Full name was printed correctly' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment