Sha256: e07bcd3fbce7d36ccf619f07a0121668dfa2bec7ba62f8890b6a5fab7668830c

Contents?: true

Size: 617 Bytes

Versions: 6

Compression:

Stored size: 617 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require "nokogiri"
require "om"

describe "OM::XML::Container" do
  
  before(:all) do
    class XMLTest
      include OM::XML
    end
  end
  
  
  it "should automatically include the other modules" do
    XMLTest.included_modules.should include(OM::XML::Container)
    XMLTest.included_modules.should include(OM::XML::Accessors)
    XMLTest.included_modules.should include(OM::XML::Validation)
    XMLTest.included_modules.should include(OM::XML::Properties)
    XMLTest.included_modules.should include(OM::XML::PropertyValueOperators)
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
om-0.1.5 spec/unit/xml_spec.rb
om-0.1.4 spec/unit/xml_spec.rb
om-0.1.3 spec/unit/xml_spec.rb
om-0.1.2 spec/unit/xml_spec.rb
om-0.1.0 spec/unit/xml_spec.rb
opinionated-xml-0.1.0 spec/unit/xml_spec.rb