fix(loading): prevent loading service from disabling all future back button behavior. Fixes #2214

This commit is contained in:
Perry Govier
2014-10-07 14:19:20 -05:00
parent 4f76a9660b
commit 34934f636e
2 changed files with 10 additions and 7 deletions

View File

@@ -189,6 +189,7 @@ describe('$ionicLoading service', function() {
$timeout.flush();
expect(deregisterSpy).not.toHaveBeenCalled();
$ionicLoading.hide();
$timeout.flush();
expect(deregisterSpy).toHaveBeenCalled();
}));
});