Skip to content

Commit

Permalink
[test] Restore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Mar 5, 2015
1 parent 308eadb commit 8f2672e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/pagelet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ describe('Pagelet', function () {

assume(pagelet._temper).to.be.an('object');
assume(property.writable).to.equal(true);
assume(property.enumerable).to.equal(true);
assume(property.enumerable).to.equal(false);
assume(property.configurable).to.equal(true);
});

it('can have reference to pipe instance', function () {
pagelet = new P({ pipe: pipe });
var property = Object.getOwnPropertyDescriptor(pagelet, '_pipe');
var property = Object.getOwnPropertyDescriptor(pagelet, '_bigpipe');

assume(pagelet._pipe).to.be.an('object');
assume(pagelet._pipe).to.be.instanceof(Pipe);
assume(pagelet._bigpipe).to.be.an('object');
assume(pagelet._bigpipe).to.be.instanceof(Pipe);
assume(property.writable).to.equal(true);
assume(property.enumerable).to.equal(true);
assume(property.enumerable).to.equal(false);
assume(property.configurable).to.equal(true);
});

Expand Down

0 comments on commit 8f2672e

Please sign in to comment.