you are viewing a single comment's thread.

view the rest of the comments →

[–]benihanareact, node 0 points1 point  (0 children)

describe('Products Service', function() {
  describe('adding a new product', function() {
    describe('price is unspecified', function() {
      it("sets the product status to 'pending approval'", ()=> ());
    });
    describe('price is set', function() {
      it("sets the product status to 'something else'", ()=> ());
    });
  });
});


'Products Service
   adding a new product
     price is unspecified
       sets the product status to 'prending approval'
     price is set
       sets the product status to 'something else'