Add additional check for stat change

This commit is contained in:
Blade Barringer
2015-10-26 12:52:18 -05:00
parent f8d08b4195
commit 13fa14270d

View File

@@ -20,9 +20,11 @@ describe.only('PUT /user', () => {
return api.put('/user', {
'profile.name' : 'Frodo',
'preferences.costume': true,
'stats.hp': 14,
}).then((updatedUser) => {
expect(updatedUser.profile.name).to.eql('Frodo');
expect(updatedUser.preferences.costume).to.eql(true);
expect(updatedUser.stats.hp).to.eql(14);
});
});
});