mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +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) {
|
||||
assert.equal(this.$(".reviewables").text(), "5");
|
||||
assert.equal(find(".reviewables").text(), "5");
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user