mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 09:42:00 +08:00
FIX: Don't use jQuery directly in a test
This commit is contained in:
@ -89,7 +89,7 @@ widgetTest("reviewable content", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
test(assert) {
|
test(assert) {
|
||||||
assert.equal(this.$(".reviewables").text(), "5");
|
assert.equal(find(".reviewables").text(), "5");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user