anchor.diff:      expect(dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>]).to eq(<%= format_type_value(munged_uint.to_i) %>)
     end
   <%      end #  @spec_test_values['munged_ints']... -%>
  -<%    else # if property.uint? or property.int? -%> -%>
  +<%    else # if property.uint? or property.int? -%>
   
     it 'should not accept uint for dsc_<%= property.name.downcase %>' do
  -    expect{dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= @spec_test_values['uint'] %>}.to raise_error(Puppet::ResourceError)
  +    expect{dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= format_type_value(@spec_test_values['uint']) %>}.to raise_error(Puppet::ResourceError)
     end
   <%    end # if property.uint? -%>
   <%  end # resource.properties.each... -%>
  
positive.code: <%    else # if property.bool? -%>
  
    it 'should not accept boolean for dsc_<%= property.name.downcase %>' do
      expect{dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= @spec_test_values['boolean'] %>}.to raise_error(Puppet::ResourceError)
    end
  <%    end # if property.bool? -%>
  <%    if property.int? -%>
  
negative.code: <%    else # if property.int? -%>
  
    it 'should not accept int for dsc_<%= property.name.downcase %>' do
      expect{dsc_<%= resource.friendlyname.downcase %>[:dsc_<%= property.name.downcase %>] = <%= format_type_value(@spec_test_values['int']) %>}.to raise_error(Puppet::ResourceError)
    end
  <%    end # if property.uint? -%>
  <%    if property.uint? or property.int? -%>
  