Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
sanemat committed Jul 1, 2014
1 parent d8e4e00 commit 7a93c7d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/boolify-string_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,27 @@ describe('boolifyString', function () {
});

describe('falsy string', function(){
it('should be false', function () {
it('false should be false', function () {
assert.equal(boolifyString('false'), false);
});
it('should be false', function () {
it('(empty string) should be false', function () {
assert.equal(boolifyString(''), false);
});
it('should be false', function () {
it('0 should be false', function () {
assert.equal(boolifyString('0'), false);
});
it('should be false', function () {
it('undefined should be false', function () {
assert.equal(boolifyString('undefined'), false);
});
it('should be false', function () {
it('null should be false', function () {
assert.equal(boolifyString('null'), false);
});
});

it('should be true', function(){
it('actual true should be true', function(){
assert.equal(boolifyString(true), true);
});
it('should be false', function(){
it('actual false should be false', function(){
assert.equal(boolifyString(false), false);
});
});

0 comments on commit 7a93c7d

Please sign in to comment.