HomePhorge

(Maint) Remove stubbing from query_string tests
7393364479c1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(Maint) Remove stubbing from query_string tests

The tests for the Puppet::Indirector::Request#query_string method were
relying on stubbing methods on the class under test. There is no need
for that since the required data is trivially passed in via the
constructor. This replaces the stubbing with simply constructing the
correct object to test.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6f31b930e015: (#21427) Submit reports in PSON format
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU7393364479c1: (Maint) Remove stubbing from query_string tests (authored by Andrew Parker <andy@puppetlabs.com>).Jun 27 2013, 8:39 PM