diff --git a/tests/acceptance/main-test.js b/tests/acceptance/main-test.js index 7978c8b6..1f43a8eb 100644 --- a/tests/acceptance/main-test.js +++ b/tests/acceptance/main-test.js @@ -55,6 +55,14 @@ module('Acceptance | main', function(hooks) { assert.equal(user.get('profile.firstName'), 'Terry'); assert.equal(user.get('profile.lastName'), 'Bubblewinkles'); + + changeset.set('profile', null); + + assert.equal(changeset.get('profile'), null); + + changeset.execute(); + + assert.equal(user.get('profile'), null); }) });