def load_fixtures(resource, file)
      if block_given?
        Dir.mktmpdir("rspec-puppet-augeas") do |dir|
          prepare_fixtures(dir, resource, file)
          yield dir
        end
      else
        dir = Dir.mktmpdir("rspec-puppet-augeas")
        prepare_fixtures(dir, resource, file)
        dir
      end
    end
def load_fixtures(resource, file)
      if block_given?
        Dir.mktmpdir("rspec-puppet-augeas") do |dir|
          prepare_fixtures(dir, resource, file)
          yield dir
        end
      else
        dir = Dir.mktmpdir("rspec-puppet-augeas")
        prepare_fixtures(dir, resource, file)
        dir
      end
    end
Copies test fixtures to a temporary directory
 If file is nil, copies the entire augeas_fixtures directory
 If file is a hash, it copies the "value" from augeas_fixtures
   to each "key" path