spec/lib/icmstot_spec.rb in br_danfe-0.0.8 vs spec/lib/icmstot_spec.rb in br_danfe-0.0.9
- old
+ new
@@ -40,9 +40,9 @@
it "renders xml to the pdf" do
expect(File.exist?(output_pdf)).to be_falsey
pdf.render_file output_pdf
- expect("#{base_dir}icmstot#render.pdf").to be_same_file_as(output_pdf)
+ expect("#{base_dir}icmstot#render.pdf").to have_same_content_of file: output_pdf
end
end
end