summaryrefslogtreecommitdiff
path: root/spec/unit/facter/pe_version_spec.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2013-08-29 16:27:27 -0700
committerJeff McCune <jeff@puppetlabs.com>2013-08-29 16:27:27 -0700
commit948be0bb99374c699d79eb11c00366a6e2d2f977 (patch)
tree546d9cdf7c0abe256587742d59f17ed3005fcb27 /spec/unit/facter/pe_version_spec.rb
parent221277e8522b42bf170fded6ea23dfc526703b07 (diff)
(maint) Improve the tests and readability of file_line
Without this patch the implementation of the file_line provider is a bit convoluted with respect to the newly introduced "after" parameter. This patch addresses the problem by separating out the concerns of each case into their own methods of handling the behavior with the match parameter, handling the behavior with the after parameter, or simply appending the line.
Diffstat (limited to 'spec/unit/facter/pe_version_spec.rb')
0 files changed, 0 insertions, 0 deletions