Merge pull request #6973 from tchak/fix-user-spec
test(user): fix unstable spec
This commit is contained in:
commit
59facd26f9
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ describe User, type: :model do
|
|||
it 'transfers the dossier' do
|
||||
subject
|
||||
|
||||
expect(targeted_user.dossiers.with_discarded).to match([dossier, hidden_dossier])
|
||||
expect(targeted_user.dossiers.with_discarded).to contain_exactly(dossier, hidden_dossier)
|
||||
expect(targeted_user.invites).to match([invite])
|
||||
expect(targeted_user.merge_logs.first).to eq(merge_log)
|
||||
|
||||
|
|
Loading…
Reference in a new issue