Issue #19167 has been reported by Dominic Cleal.
----------------------------------------
Bug #19167: extlookup_spec doesn't test key lookups due to Tempfile error
https://projects.puppetlabs.com/issues/19167
Author: Dominic Cleal
Status: Unreviewed
Priority: Normal
Assignee:
Category: Doh!
Target version: 3.x
Affected Puppet version: 2.6.1
Keywords:
Branch:
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.