mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
Use sandbox.restore() to try improve bookmark-test
This commit is contained in:
parent
232eb685af
commit
c7c4124b82
|
@ -4,6 +4,10 @@ let BookmarkController;
|
|||
moduleFor("controller:bookmark", {
|
||||
beforeEach() {
|
||||
BookmarkController = this.subject({ currentUser: currentUser() });
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
sandbox.restore();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user