mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #5410 from luisramos0/fix_some_specs
[Spree 2] Make api/enterprises_controller_spec less flaky
This commit is contained in:
@@ -47,7 +47,7 @@ module Api
|
||||
expect(response).to be_success
|
||||
|
||||
enterprise = Enterprise.last
|
||||
expect(enterprise.user_ids).to eq([enterprise_owner.id, manager1.id, manager2.id])
|
||||
expect(enterprise.user_ids).to match_array([enterprise_owner.id, manager1.id, manager2.id])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user