Skip to content

Commit

Permalink
Step 9.16: Update tests of PartyDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 084e44b commit 68a6b02
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -12,7 +12,8 @@ describe('PartyDetails', () => {
const party = {
_id: 'partyId',
name: 'Foo',
description: 'Birthday of Foo'
description: 'Birthday of Foo',
public: true
};

beforeEach(() => {
Expand Down Expand Up @@ -40,7 +41,8 @@ describe('PartyDetails', () => {
expect(Parties.update.calls.mostRecent().args[1]).toEqual({
$set: {
name: party.name,
description: party.description
description: party.description,
public: party.public
}
});
});
Expand Down

0 comments on commit 68a6b02

Please sign in to comment.