You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
This isn't an RVM issue per se, but I wanted to document it in case anyone else had this issue and was google for an answer. Also, I'm looking for workaround (other than "don't use mocks", of course).
KVO involves isa-swizzling, and so does mocking. Worse, KVO observers are associated per-class, and that association can break if the class of an instance changes.
RAC handles this. It sounds like your mocking framework does not.
This isn't an RVM issue per se, but I wanted to document it in case anyone else had this issue and was google for an answer. Also, I'm looking for workaround (other than "don't use mocks", of course).
I have a very simple view model:
Nothing special. Now, when I unit test it, I create a mock.
The problem is, due to the mocking, something funky is going on under the hood with
take:
being disposed of. It results in the following crash:Like I said, not strictly a RVM issue, but open to suggestions. Feel free to close if it's too off-topic.
The text was updated successfully, but these errors were encountered: