Replace VCR cassette with webmock stub in the zuora_orders_ordermanagerservice spec
Summary
- See original issue: Reduce the number of specs using VCR (#7342 - closed)
- Parent epic: [Utilization] Reduce the number of specs using VCR (&11380)
VCR should be reserved for feature-level testing. Unit specs should utilize stubbing (ie webmock) as much as possible to keep them lightweight.
Improvements
- Improvement in CI speed
Risks
- stubbing means predefining responses to calls to the service
- API/service changes will not be picked up because the tests use stubbed data/interaction
Involved components
- Replace VCR cassettes in
zuora_orders_ordermanagerservice
specs using Webmock with the following relevant file(s):spec/services/zuora/orders/order_manager_service_spec.rb