Skip to content

Commit

Permalink
fixed build process so developers can have local setting for unit tes…
Browse files Browse the repository at this point in the history
…ts while run code run can use defaults
  • Loading branch information
thatcher committed Feb 4, 2010
1 parent cefe441 commit c17b30d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion test/specs/dom/spec.js
Expand Up @@ -478,7 +478,21 @@ test('Document.createDocumentFragment', function(){
doc = document.implementation.createDocument('', '', null);
fragment = doc.createDocumentFragment();

ok(fragment, 'created node');
ok(fragment, 'fragment');
equals(fragment.attributes, null, '.attributes');
});


test('Document.createComment', function(){

var doc,
comment;

doc = document.implementation.createDocument('', '', null);
comment = doc.createComment("This is a pig, 'oink, oink'");

ok(comment, 'comment');
equals(xmlserializer.serializeToString(comment), "<!--This is a pig, 'oink, oink-->", 'serializeToString');
});

test('Element.setAttributeNS', function(){
Expand Down
3 changes: 2 additions & 1 deletion test/specs/window/spec.js
Expand Up @@ -7,7 +7,8 @@ var _load,
_count = 1,
_starttime = new Date().getTime(),
_endtime,
Envjs;
Envjs,
__this__ = this;

var expected_path = 'test/specs/window/spec.html';

Expand Down

0 comments on commit c17b30d

Please sign in to comment.