Bob Nadler, Jr. Logo

RubyMotion: Clearing Out motion-stump Mocks

Newly cut
Image by Kathleen Tyler Conklin

Update: The pull request mentioned below has been merged and motion-stump clears mocks automatically now, so this after block is no longer necessary.

This one had me "stumped" for awhile. When using motion-stump mocks, you need to clear them in an after block like this:

after do

Someone has submitted a pull request to motion-stump for this to happen automatically but it hasn't been merged yet.

Email list
Image by husin.sani

No spam, ever. Unsubscribe at any time.