/**
 * Test bib/lego.js
 * */
var expect = require("chai").expect;
var Lego = require("../lib/lego");

describe("lego.Lego", function () {
    describe("Lego.start" , function(){
        it("should set params to this.params" , function(){
            var lego = new Lego();
            var params = {};
            lego.start(params);
            expect(lego.params).to.equal(params);
        })
    })
});
@@ -164,32 +164,34 @@
 %22 , function()%7B%0A
+%0A%0A
         it(%22shou
@@ -390,16 +390,195 @@
       %7D)
+;%0A%0A        it(%22should return this%22 , function()%7B%0A            var lego = new Lego();%0A            var params = %7B%7D;%0A            expect(lego.start(params)).to.equal(lego);%0A        %7D);
 %0A    %7D)%0A

test lego start