Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added second test case to example project

  • Loading branch information...
commit 9daf0d9db53d47562b2d4d363f5391529a74d2df 1 parent adb31bf
@lukebayes authored
View
1  example/README
@@ -11,3 +11,4 @@ This would collect all of the files in test/ match the Regular Expression:
Each test case will be loaded, interpreted and executed, and a report will be
printed while everything progresses and summarized when everything is complete.
+
View
5 example/src/other_class.js
@@ -0,0 +1,5 @@
+
+var OtherClass = function() {
+}
+
+exports.OtherClass = OtherClass;
View
13 example/test/unit/other_class_test.js
@@ -0,0 +1,13 @@
+
+var OtherClass = require('other_class').OtherClass;
+
+context('OtherClass', function() {
+
+ setup(function() {
+ this.instance = new OtherClass();
+ });
+
+ should('be instantiable', function() {
+ assert.ok(this.instance);
+ });
+});
Please sign in to comment.
Something went wrong with that request. Please try again.