add .license to npm class

This commit is contained in:
2016-02-21 17:17:31 +01:00
parent 44a0c05ebb
commit a5baae60c9
5 changed files with 17 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ describe("projectinfo",function(){
it("should have .version",function(){
myNpm
.should.have.property("name","testpackage")
.should.have.property("version","1.0.0")
});
it("should have .name",function(){
@@ -24,6 +24,11 @@ describe("projectinfo",function(){
.should.have.property("name","testpackage");
});
it("should have .license",function(){
myNpm
.should.have.property("license","MIT");
});
});
describe(".getName()",function(){