Last active
July 31, 2019 07:31
-
-
Save jasongorman/e71cf9779d9d56ada93d63fee01d0259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('CD not in customer collection', function(){ | |
it('does not allow leaving review', function(){ | |
const cd = new CD(0,0, new Description('Obzen', 'Meshuggah')); | |
const customer = new Customer('Jason'); | |
const review = new Review(customer, rating=5); | |
assert.throws(() => cd.leaveReview(review), NotInCustomerCollectionError); | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment