summaryrefslogtreecommitdiff
path: root/spec/functions/deprecation_spec.rb
diff options
context:
space:
mode:
authortkishel <tkishel@gmail.com>2017-07-13 15:30:54 -0700
committertkishel <tkishel@gmail.com>2017-07-13 15:30:54 -0700
commit4d764068ffe456366a9c823e15581e9a9649898e (patch)
treebf4732fa9337eeb101b8d2b4e716db1cbc203f2f /spec/functions/deprecation_spec.rb
parent81d7d35fd78917ee1a5e66cb7459ea341bc452ea (diff)
(MODULES-5003) file_line_does_not_change_multiple_lines_when_one_matches
The exists? method is called to determine the need to call the create and destroy methods. When the ensure, match, and multiple attributes are defined, the exists? method needs to return false unless all the lines that match the match attribute equal the line attribute. The first commit is minimal, and implements this change. The second commit normalizes the code, which I needed for comprehension.
Diffstat (limited to 'spec/functions/deprecation_spec.rb')
0 files changed, 0 insertions, 0 deletions