]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Memoize file_line spec instance variables
authorJeff McCune <jeff@puppetlabs.com>
Fri, 11 May 2012 05:00:19 +0000 (22:00 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Fri, 11 May 2012 05:04:58 +0000 (22:04 -0700)
commit20aacc5a29f767f09ecf5964068392cf3054bddc
treeed4033182a2cce8838a9ba6ae5bb56eaaee43da2
parent1ebfa5daea65a7ccb5e17c1d1021567c91ed580b
Memoize file_line spec instance variables

This just changes the instance variables to a memoized let block and
gets ride of the before :each block.

The patch has no change in behavior.
spec/unit/puppet/type/file_line_spec.rb