forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-1763) Memoize downloader's catalog and file
Memoize the catalog and file so it is accessible in tests, instead of setting expectations on the wrong instance or using *_any_instance_of. This keeps the old behavior of validating the `file` resource when the downloader is evaluated.
- Loading branch information
1 parent
57667a7
commit 5fddf54
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters