mirror of
https://github.com/discourse/discourse.git
synced 2025-06-10 19:33:52 +08:00
Use sandbox.restore() to try improve bookmark-test
This commit is contained in:
@ -4,6 +4,10 @@ let BookmarkController;
|
|||||||
moduleFor("controller:bookmark", {
|
moduleFor("controller:bookmark", {
|
||||||
beforeEach() {
|
beforeEach() {
|
||||||
BookmarkController = this.subject({ currentUser: currentUser() });
|
BookmarkController = this.subject({ currentUser: currentUser() });
|
||||||
|
},
|
||||||
|
|
||||||
|
afterEach() {
|
||||||
|
sandbox.restore();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user