spec/lutaml/model/delegation_spec.rb in lutaml-model-0.3.26 vs spec/lutaml/model/delegation_spec.rb in lutaml-model-0.3.27

- old
+ new

@@ -146,14 +146,14 @@ expect(xml_data).to include('<?xml version="1.0"?>') expect(xml_data).not_to include("encoding=") end it "provides XML declaration with UTF-8 encoding" \ - "if encoding: true option provided" do + "if encoding: 'UTF-8' option provided" do xml_data = delegation.to_xml( pretty: true, declaration: true, - encoding: true, + encoding: "UTF-8", ) expect(xml_data).to include('<?xml version="1.0" encoding="UTF-8"?>') end it "provides XML declaration with specified encoding" \