Replace VCR cassette with webmock stub in spec/services/rails_admin/create_license_service_spec.rb
Summary
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
spec/services/rails_admin/create_license_service_spec.rb
.