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