Fix test regression: each statement isn't correctly used here.

Spotted by Michael on review #93111, The ruby "each" statement
run each test twice with the same parameters. This commit clean
tests.

This is a standalone commit because the original change 8156a87
was already reviewed/merged into master.

Change-Id: I16280d501bcfeb435326094043395013a1fd365a
Merge "Fix test regression: each statement isn't correctly used here."
Merge git://github.com/puppetlabs/puppetlabs-glance