var expect = require("expect.js"),
    Parser = require('../lib/parser')

    // easier to read..
    singleElemenetMarkup = '<div id="user"></div>',
    secondElementMarkup  = '<div id="membership"></div>'
    multiElementMarkup  = singleElemenetMarkup + secondElementMarkup;


describe('multiple rootElements', function() {
  it('errors if multiple root elements are present by default', function() {
    multiRootParse = function() {
      new Parser(multiElementMarkup, {templateName: 'test',templates: {}})
    }
    expect(multiRootParse).to.throwError(/multiple root elements/);
  });
});

@@ -553,38 +553,23 @@
 wError(/
-multiple root elements
+invalid
 /);%0A  %7D)

fix test for new error message