anchor.diff:  <%      end #  @spec_test_values['munged_ints']... -%>
   
   <%    else # if property.int? -%>
  -<%    ####################### -%>
   
     it 'should not accept int for dsc_<%= property.name.downcase %>' do
       expect{dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= @spec_test_values['int'] %>}.to raise_error(Puppet::ResourceError)
     end
   <%    end # if property.uint? -%>
  -<%    ####################### -%>
   <%    if property.uint? or property.int? -%>
  -<%    ####################### -%>
   
     it 'should accept uint for dsc_<%= property.name.downcase %>' do
       dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= format_type_value(@spec_test_values[property.type]) %>
  
positive.code:     Puppet::Type.type(:dsc_<%= resource.friendlyname.downcase %>).new(
        :name     => <%= format_type_value(@spec_test_values['string']) %>,
  <%  resource.properties.select{|rp| rp.required? }.each do |property| -%>
  <%  ####################### -%>
  <%    if property.values -%>
  <%    ####################### -%>
        :dsc_<%= property.name.downcase %> => '<%= property.values.first %>',
  <%    else -%>
  <%    ####################### -%>
        :dsc_<%= property.name.downcase %> => <%= format_type_value(@spec_test_values[property.type]) %>,
  <%    end -%>
  <%    ####################### -%>
  <%  end -%>
  <%  ####################### -%>
      )
    end
  
  
negative.code: 
      end
  <%  end # if resource.ensurable? -%>
  
    end
  end
  