Index: sky/tests/modules/modules.sky |
diff --git a/sky/tests/modules/modules.sky b/sky/tests/modules/modules.sky |
index 1e7bf94a46a58d0d05331de840d18091b1e8b2a0..baccb20e383ae917f0ab8364af387b43870765f9 100644 |
--- a/sky/tests/modules/modules.sky |
+++ b/sky/tests/modules/modules.sky |
@@ -13,6 +13,13 @@ describe('Module', function() { |
assert.equal(module.document, doc2); |
assert.equal(module.url, "http://www.example.com/module"); |
}); |
+ |
+ it('should have an empty object by default for exports', function() { |
+ var app = new Application(new Document(), "http://www.example.com/app"); |
+ var module = new Module(app, new Document(), "http://www.example.com/module"); |
+ assert.isObject(module.exports); |
+ assert.lengthOf(Object.keys(module.exports), 0); |
+ }); |
}); |
</script> |
</html> |