Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10053

Update webmock and vcr

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.4.5, PUP 6.11.0
    • None
    • None
    • Coremunity
    • Platform Core KANBAN
    • Not Needed
    • Needs Assessment

    Description

      Puppet uses VCR and WebMock to stub/expect network connections. If a network request is made that wasn't expected, then VCR intercepts the request and prints a not useful error message. You can allow VCR to pass through requests it doesn't care about (using vcr.allow_http_connections_when_no_cassette = true) but we are using ancient versions of webmock and vcr.

      This ticket is to update vcr and webmock, and ensure vcr only generates errors on tests that have explicitly been tagged with :vcr using rspec metadata.

      Attachments

        Activity

          People

            josh Josh Cooper
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support