[Halo] Fix function mocking to not throw error if backup exists

Review Request #293 — Created April 17, 2014 and submitted

pprkut
Lunr
master
lunr
If a test fails that created a function mock, it doesn't unmock it. So rather than fail on a subsequent test as well, check whether the backup still exists and use that instead of trying to create it again.
Example tests
leo
  1. Ship It!
  2. 
      
pprkut
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...