fix flaky test by imposing a stable sort order
This commit is contained in:
parent
2c089f53dd
commit
c04077ca34
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ describe 'new_administrateur/procedures/invited_expert_list.html.haml', type: :v
|
||||||
|
|
||||||
it 'has 2 experts and match array' do
|
it 'has 2 experts and match array' do
|
||||||
expect(@invited_expert_emails.count).to eq(2)
|
expect(@invited_expert_emails.count).to eq(2)
|
||||||
expect(@invited_expert_emails).to eq([expert.email, expert2.email])
|
expect(@invited_expert_emails).to eq([expert.email, expert2.email].sort)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue