mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 10:53:26 +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", {
|
moduleFor("controller:bookmark", {
|
||||||
beforeEach() {
|
beforeEach() {
|
||||||
BookmarkController = this.subject({ currentUser: currentUser() });
|
BookmarkController = this.subject({ currentUser: currentUser() });
|
||||||
|
},
|
||||||
|
|
||||||
|
afterEach() {
|
||||||
|
sandbox.restore();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user