/* globals before, beforeEach, it, describe */
/**
 * Copyright 2016, Sumit Rai
 * Copyrights licensed under the New MIT License. See the accompanying LICENSE file for terms.
 */

'use strict';
import { expect } from 'chai';

describe('stub', function () {
    before(function () {
    });

    describe('#stub', function () {
        it('should do something', function () {
            expect(true).to.be.true;
        });
    });
});
@@ -187,16 +187,17 @@
 trict';%0A
+%0A
 import %7B
@@ -223,23 +223,265 @@
 i';%0A
-%0Adescribe('stub
+import %7B createMockComponentContext %7D from 'fluxible/utils';%0Aimport ApplicationStore from '../../../stores/ApplicationStore';%0Aimport RouteStore from '../../../stores/RouteStore';%0Aimport Immutable from 'immutable';%0Aimport jsx from 'jsx-test';%0A%0Adescribe('Html
 ', f
@@ -489,24 +489,39 @@
 nction () %7B%0A
+    let Html;%0A%0A
     before(f
@@ -529,24 +529,76 @@
 nction () %7B%0A
+        Html = require('../../../components/Html');%0A
     %7D);%0A%0A   
@@ -613,12 +613,14 @@
 e('#
-stub
+render
 ', f
@@ -644,83 +644,1817 @@
     
-it('should do something', function () %7B%0A            expect(true).to.be.true
+let context;%0A        let props;%0A%0A        beforeEach(function () %7B%0A            context = createMockComponentContext(%7B%0A                stores: %5BApplicationStore, RouteStore%5D%0A            %7D);%0A%0A            context.getStore(ApplicationStore).rehydrate(%7B%0A                pageTitle: 'This is the page title'%0A            %7D);%0A%0A            context.getStore(RouteStore)._currentRoute = Immutable.fromJS(%7B%0A                name: 'issueList',%0A                title: 'List of all Issues'%0A            %7D);%0A%0A            props = %7B%0A                markup: '%3Cp%3Esome markup%3C/p%3E',%0A                state: 'window.App=%7Bcontext: %7B%7D%7D',%0A                clientFile: 'main.js',%0A                context: context%0A            %7D;%0A        %7D);%0A%0A        it('should render html markup for the page', function () %7B%0A            jsx.assertRender(Html, props,%0A                '%3Chtml%3E' +%0A                    '%3Chead%3E' +%0A                        '%3Cmeta charset=%22utf-8%22/%3E' +%0A                        '%3Ctitle%3EThis is the page title%3C/title%3E' +%0A                        '%3Cmeta name=%22viewport%22 content=%22width=device-width, user-scalable=no%22/%3E' +%0A                        '%3Clink rel=%22stylesheet%22 href=%22http://yui.yahooapis.com/pure/0.5.0/pure-min.css%22/%3E' +%0A                        '%3Clink rel=%22stylesheet%22 href=%22https://cdnjs.cloudflare.com/ajax/libs/octicons/3.3.0/octicons.min.css%22/%3E' +%0A                        '%3Clink rel=%22stylesheet%22 href=%22/public/app.css%22/%3E' +%0A                    '%3C/head%3E' +%0A                    '%3Cbody%3E' +%0A                        '%3Cdiv id=%22app%22%3E' +%0A                            '%3Cp%3Esome markup%3C/p%3E' +%0A                        '%3C/div%3E' +%0A                        '%3Cscript%3Ewindow.App=%7Bcontext: %7B%7D%7D%3C/script%3E' +%0A                        '%3Cscript src=%22/public/main.js%22%3E%3C/script%3E' +%0A                    '%3C/body%3E' +%0A                '%3C/html%3E'%0A            )
 ;%0A  

Add html test