Commit 9b39213f authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix flaky spec due to assignee ordering

Assignees are not ordered so we only need match_array here
parent c1953919
...@@ -116,7 +116,7 @@ RSpec.describe Members::CreateService do ...@@ -116,7 +116,7 @@ RSpec.describe Members::CreateService do
expect(project.issues).to all have_attributes( expect(project.issues).to all have_attributes(
project: project, project: project,
author: user, author: user,
assignees: project_users assignees: match_array(project_users)
) )
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment