Sha256: f2d144727f69f21b4446517e274a770eb35255293ad74a38143712344e9c6f54
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
require 'spec_helper' describe "OM::XML::Container" do before(:all) do class XMLTest include OM::XML end end it "should automatically include the other modules" do expect(XMLTest.included_modules).to include(OM::XML::Container) expect(XMLTest.included_modules).to include(OM::XML::Validation) end describe "#sanitize_pointer" do it "should convert any nested arrays into hashes" do expect(XMLTest.sanitize_pointer( [[:person,1],:role] )).to eq([{:person=>1},:role]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
om-1.8.1 | spec/unit/xml_spec.rb |