| Index: sky/tests/lowlevel/create-document.sky
|
| diff --git a/sky/tests/lowlevel/dom-implementation-create-document.sky b/sky/tests/lowlevel/create-document.sky
|
| similarity index 53%
|
| rename from sky/tests/lowlevel/dom-implementation-create-document.sky
|
| rename to sky/tests/lowlevel/create-document.sky
|
| index 62e65b382be13f03e8d167621d5305a7ba6218c4..cb4f7c3f0d8fbaf367dedbcd8d7cef7f9db7f45b 100644
|
| --- a/sky/tests/lowlevel/dom-implementation-create-document.sky
|
| +++ b/sky/tests/lowlevel/create-document.sky
|
| @@ -2,10 +2,10 @@
|
| <import src="../resources/chai.sky" />
|
| <import src="../resources/mocha.sky" />
|
| <script>
|
| -describe('DOMImplementation', function() {
|
| - it('should let you create a document', function() {
|
| - var doc = document.implementation.createDocument();
|
| - assert.isNotNull(doc, 'createDocument should return a value');
|
| +describe('Document', function() {
|
| + it('should have a constructor', function() {
|
| + var doc = new Document();
|
| + assert.isNotNull(doc);
|
| assert.doesNotThrow(function() {
|
| doc.registerElement('x-foo');
|
| }, 'new document should have a registration context');
|
|
|