fix flaky spec
This commit is contained in:
parent
77c452ad37
commit
d669e0fb45
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ describe Administrateur, type: :model do
|
|||
context 'with a custom shorter threshold period' do
|
||||
before { stub_const("Administrateur::UNUSED_ADMIN_THRESHOLD", 5.months) }
|
||||
|
||||
it { is_expected.to match([new_admin, unused_admin]) }
|
||||
it { is_expected.to match_array([new_admin, unused_admin]) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue