describe('Regulator', function() {
    var name = 'test_regulator',
        data = {'summary': 'test summary',
                'description': 'test description',
                'methods': 'test methods',
                'references': 'test references'};
    var reg = new Regulator(name, data);

    describe('#name', function() {
        it('should be the name passed to the constructor', function() {
            reg.name.should.equal(name);
        });
    });

    describe('#summary', function() {
        it('should be taken from the data object', function() {
            reg.summary.should.equal(data.summary);
        });
    });

    describe('#description', function() {
        it('should be taken from the data object', function() {
            reg.description.should.equal(data.description);
        });
    });

    describe('#references', function() {
        it('should be taken from the data object', function() {
            reg.references.should.equal(data.references);
        });
    });
});

@@ -427,18 +427,16 @@
 hould.eq
-ua
 l(name);
@@ -436,16 +436,16 @@
 (name);%0A
+
         
@@ -588,26 +588,24 @@
 ry.should.eq
-ua
 l(data.summa
@@ -769,26 +769,24 @@
 on.should.eq
-ua
 l(data.descr
@@ -912,32 +912,32 @@
 ', function() %7B%0A
+
             reg.
@@ -960,10 +960,8 @@
 d.eq
-ua
 l(da

use eql() to do == type tests