Commit 58ed758fcb26258a918a84ae5494a8f7a65b31e8

Authored by chadzink
Committed by GitHub
1 parent 97edea7d

Fix error in PorTor Test (#19)

Failing on .bins on array VS item
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/syspro/business_objects/schemas/portor_doc.xml.erb
@@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
21 <Notation><%= render_xml(interospection_item.notation) %></Notation> 21 <Notation><%= render_xml(interospection_item.notation) %></Notation>
22 <Reference><%= render_xml(interospection_item.reference) %></Reference> 22 <Reference><%= render_xml(interospection_item.reference) %></Reference>
23 <GRNSource><%= render_xml(interospection_item.grn_source) %></GRNSource> 23 <GRNSource><%= render_xml(interospection_item.grn_source) %></GRNSource>
24 - <% @receipt_interospections.bins.each do |bin| %> 24 + <% interospection_item.bins.each do |bin| %>
25 <Bins> 25 <Bins>
26 <BinLocation><%= render_xml(bin.bin_location) %></BinLocation> 26 <BinLocation><%= render_xml(bin.bin_location) %></BinLocation>
27 <BinQuantity><%= render_xml(bin.bin_quantity) %></BinQuantity> 27 <BinQuantity><%= render_xml(bin.bin_quantity) %></BinQuantity>