Jira (PUP-10053) Remove VCR usage

1 view
Skip to first unread message

Josh Cooper (JIRA)

unread,
Sep 26, 2019, 7:06:03 PM9/26/19
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Improvement PUP-10053
Remove VCR usage
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/09/26 4:05 PM
Priority: Normal Normal
Reporter: Josh Cooper

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 that interferes with webmock.

This ticket is to rewrite the file http content/metadata tests to no longer use vcr, and remove the vcr runtime gem dependency (from the Gemfile) and spec/spec_helper.rb

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages