spec/features/danfe_spec.rb in br_danfe-0.5.0 vs spec/features/danfe_spec.rb in br_danfe-0.5.1
- old
+ new
@@ -24,10 +24,10 @@
it "render a NF-e with customized options" do
expect(File.exist?(output_pdf)).to be_falsey
danfe = BrDanfe::Danfe.new(File.read("#{base_dir}nfe_simples_nacional.xml"))
- danfe.options.logo_path = "spec/fixtures/logo.png"
+ danfe.options.logo = "spec/fixtures/logo.png"
danfe.options.products_unit_price_precision = 4
danfe.options.products_quantity_precision = 4
danfe.save_pdf output_pdf