spec/lib/xmlenc/builder/data_reference_spec.rb in xmlenc-0.1.5 vs spec/lib/xmlenc/builder/data_reference_spec.rb in xmlenc-0.1.6
- old
+ new
@@ -1,10 +1,10 @@
require "spec_helper"
describe Xmlenc::Builder::DataReference do
let(:xml) { File.read File.join("spec", "fixtures", "template2.xml") }
- subject { described_class.parse(xml, single: true) }
+ subject { described_class.parse(xml, :single => true) }
describe "#parse" do
it "should have uri attribute" do
expect(subject.uri).to eq "ED"
end
\ No newline at end of file