]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(maint) Memoize scope in domain_name spec
authorJeff McCune <jeff@puppetlabs.com>
Thu, 12 Jan 2012 02:55:21 +0000 (18:55 -0800)
committerJeff McCune <jeff@puppetlabs.com>
Thu, 12 Jan 2012 03:17:03 +0000 (19:17 -0800)
commit39d28497a3abd981da76ffb7535b825473afbcad
treeb8a65e1ba7721c04df64e345bb9c9152d3dd60c8
parentdc674419ae2e59e28157358b1a7329401ece12ee
(maint) Memoize scope in domain_name spec

This is an opportunity improvement since I'm in the code.  Get rid of
instance variables in the spec test and replace them with a memo let
method block.
spec/unit/puppet/parser/functions/is_domain_name_spec.rb