fix pool ordering js (#3869), fix forum topic tests
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
require("jquery-ui/ui/widgets/sortable");
|
||||
require("jquery-ui/themes/base/sortable.css");
|
||||
|
||||
let Pool = {};
|
||||
|
||||
Pool.initialize_all = function() {
|
||||
|
||||
@@ -132,8 +132,8 @@ class ForumTopicTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
should "be searchable by title" do
|
||||
assert_equal(1, ForumTopic.title_matches("xxx").count)
|
||||
assert_equal(0, ForumTopic.title_matches("aaa").count)
|
||||
assert_equal(1, ForumTopic.attribute_matches(:title, "xxx").count)
|
||||
assert_equal(0, ForumTopic.attribute_matches(:title, "aaa").count)
|
||||
end
|
||||
|
||||
should "be searchable by category id" do
|
||||
|
||||
Reference in New Issue
Block a user