this.subject() returns already destroyed object at beginning of test

216 Views Asked by At

I have several qunit tests for my ember model.

When I try to save my model, it raises

Assertion Failed: calling set on destroyed object

And when I run this this.subject().get('isDestroyed') it returns true.

What is going on here?

1

There are 1 best solutions below

0
On