Merge pull request #5410 from luisramos0/fix_some_specs

[Spree 2] Make api/enterprises_controller_spec less flaky
This commit is contained in:
Pau Pérez Fabregat
2020-05-21 13:45:39 +02:00
committed by GitHub

View File

@@ -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