spec/lib/xmlenc/builder/encryption_method_spec.rb in xmlenc-0.1.5 vs spec/lib/xmlenc/builder/encryption_method_spec.rb in xmlenc-0.1.6
- old
+ new
@@ -1,10 +1,10 @@
require "spec_helper"
describe Xmlenc::Builder::EncryptionMethod do
let(:xml) { File.read File.join("spec", "fixtures", "encrypted_document.xml") }
- subject { described_class.parse(xml, single: true) }
+ subject { described_class.parse(xml, :single => true) }
describe "required fields" do
it "should have the algorithm field" do
expect(subject).to respond_to :algorithm
end