first approach to wlxml library
[fnpeditor.git] / src / wlxml / wlxml.test.js
1 define([
2     'libs/chai',
3     './wlxml.js'
4 ], function(chai, wlxml) {
5     
6 'use strict';
7
8 var expect = chai.expect;
9
10
11 describe('how it works', function() {
12     it('does something', function() {
13         var doc = wlxml.WLXMLDocumentFromXML('<section class="class.subclass"></section>');
14         expect(doc.root.getClass()).to.equal('class.subclass');
15     });
16 });
17
18 });