spec/lib/xmlenc/builder/base_spec.rb in xmlenc-0.1.5 vs spec/lib/xmlenc/builder/base_spec.rb in xmlenc-0.1.6
- old
+ new
@@ -7,10 +7,10 @@
end
describe BaseDummy do
describe "parse override" do
it "sets the from_xml flag" do
- BaseDummy.parse("<tag></tag>", single: true).from_xml?.should be_true
+ BaseDummy.parse("<tag></tag>", :single => true).from_xml?.should be_true
end
it "raises an error if the message cannot be parsed" do
expect {
BaseDummy.parse("invalid")