Merge pull request #5888 from tchak/fix-unstable-tests
Fix unstable tests
This commit is contained in:
commit
b6d8409c9f
2 changed files with 2 additions and 1 deletions
|
@ -187,6 +187,7 @@ feature 'Instructing a dossier:' do
|
|||
expect(files[2].filename.include?('horodatage/operation')).to be_truthy
|
||||
end
|
||||
|
||||
before { DownloadHelpers.clear_downloads }
|
||||
after { DownloadHelpers.clear_downloads }
|
||||
end
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ describe 'new_administrateur/procedures/invited_expert_list.html.haml', type: :v
|
|||
|
||||
it 'has 2 experts and match array' do
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue