spec/lib/dest_spec.rb in br_danfe-0.0.4 vs spec/lib/dest_spec.rb in br_danfe-0.0.5

- old
+ new

@@ -50,11 +50,11 @@ it "renders xml to the pdf" do expect(File.exist?(output_pdf)).to be_falsey pdf.render_file output_pdf - expect("#{base_dir}dest.pdf").to be_same_file_as(output_pdf) + expect("#{base_dir}dest#render-v2.00.pdf").to be_same_file_as(output_pdf) end end context "when nf-e's version is 3.10" do let(:xml_as_string) do @@ -90,10 +90,10 @@ it "renders xml to the pdf" do expect(File.exist?(output_pdf)).to be_falsey pdf.render_file output_pdf - expect("#{base_dir}dest.pdf").to be_same_file_as(output_pdf) + expect("#{base_dir}dest#render-v3.10.pdf").to be_same_file_as(output_pdf) end end end end