diff --git a/lib/puppetlabs_spec_helper/tasks/fixtures.rb b/lib/puppetlabs_spec_helper/tasks/fixtures.rb index 566a351c..9291997b 100644 --- a/lib/puppetlabs_spec_helper/tasks/fixtures.rb +++ b/lib/puppetlabs_spec_helper/tasks/fixtures.rb @@ -127,7 +127,7 @@ def fixtures(category) result[real_source] = { 'target' => File.join(real_target, fixture), - 'ref' => opts['ref'], + 'ref' => opts['ref'] || opts['tag'], 'branch' => opts['branch'], 'scm' => opts['scm'], 'flags' => opts['flags'],