add comment support for assert_sorted_equal

This commit is contained in:
Alexander Meindl 2022-06-13 10:43:56 +02:00
parent aeba93eb14
commit 6a199ce07d

View File

@ -148,8 +148,8 @@ module Additionals
end end
end end
def assert_sorted_equal(list1, list2) def assert_sorted_equal(list1, list2, comment = nil)
assert_equal list1.sort, list2.sort assert_equal list1.sort, list2.sort, comment
end end
def assert_query_sort_order(table_css, column, action: nil, list_columns: [], params: {}) def assert_query_sort_order(table_css, column, action: nil, list_columns: [], params: {})