DEV: Fix flaky test due to a lack of deterministic ordering (#20087)

This commit is contained in:
Alan Guo Xiang Tan
2023-01-31 08:57:34 +08:00
committed by GitHub
parent 6934edd97c
commit c5c72a74b7
2 changed files with 8 additions and 5 deletions

View File

@@ -197,7 +197,7 @@ RSpec.describe TagsController do
expect(categories[0]["tags"][0]["target_tag"]).to eq(nil)
end
xit "does not result in N+1 queries when there are multiple categories configured with tags for an admin user" do
it "does not result in N+1 queries when there are multiple categories configured with tags for an admin user" do
category.update!(tags: [test_tag])
sign_in(admin)