Use sandbox.restore() to try improve bookmark-test

This commit is contained in:
Martin Brennan 2019-12-11 19:00:37 +10:00
parent 232eb685af
commit c7c4124b82

View File

@ -4,6 +4,10 @@ let BookmarkController;
moduleFor("controller:bookmark", {
beforeEach() {
BookmarkController = this.subject({ currentUser: currentUser() });
},
afterEach() {
sandbox.restore();
}
});