spec/lib/xprod_spec.rb in br_danfe-0.0.5 vs spec/lib/xprod_spec.rb in br_danfe-0.0.6
- old
+ new
@@ -55,11 +55,11 @@
subject { BrDanfe::Xprod.new(xml_st) }
it "returns product + ST" do
expected = "MONITOR DE ARCO ELETRICO"
expected += "\n"
- expected += "ST: MVA: 56.00% * Alíq: 17.00% * BC: 479.82 * Vlr: 29.28"
+ expected += "ST: MVA: 56,00% * Alíq: 17,00% * BC: 479,82 * Vlr: 29,28"
expect(subject.render).to eq expected
end
end
@@ -121,10 +121,10 @@
expected += "\n"
expected += "Informações adicionais do produto"
expected += "\n"
expected +="FCI: 12232531-74B2-4FDD-87A6-CF0AD3E55386"
expected += "\n"
- expected += "ST: MVA: 56.00% * Alíq: 17.00% * BC: 479.82 * Vlr: 29.28"
+ expected += "ST: MVA: 56,00% * Alíq: 17,00% * BC: 479,82 * Vlr: 29,28"
expect(subject.render).to eq expected
end
end
end