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

178 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 answers

0
Dodds_M On