require 'spec_helper' describe Puppet::Util::Docs do describe '.scrub' do let(:my_cleaned_output) do %q{This resource type uses the prescribed native tools for creating groups and generally uses POSIX APIs for retrieving information about them. It does not directly modify `/etc/passwd` or anything. * Just for fun, we'll add a list. * list item two, which has some add'l lines included in it. And here's a code block: this is the piece of code it does something cool **Autorequires:** I would be listing autorequired resources here.} end it "strips the least common indent from multi-line strings, without mangling indentation beyond the least common indent" do input = <