Issue #19167 has been updated by Jeff McCune.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from 3.x to 3.2.0

Merged into master as 077de03.

This should be released in Puppet 3.2.

Thanks again for the contribution!

-Jeff
----------------------------------------
Bug #19167: extlookup_spec doesn't test key lookups due to Tempfile error
https://projects.puppetlabs.com/issues/19167#change-83030

Author: Dominic Cleal
Status: Merged - Pending Release
Priority: Normal
Assignee: Dominic Cleal
Category: Doh!
Target version: 3.2.0
Affected Puppet version: 2.6.1
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1469


Three extlookup() examples in `spec/unit/parser/functions/extlookup_spec.rb` 
aren't run due to a misuse of the Tempfile.new call.  They initialise temp 
files by using:

    t = Tempfile.new('extlookup.csv') do
      t.puts 'key,value'
      t.puts 'nonkey,nonvalue'
    end

However blocks passed into Tempfile.new aren't run, it's only Tempfile.open 
that uses a block.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to