Sha256: af0d66f001de4f272ae031eab16edee66bbb3ca1ea6f59caf7078da91ec46421
Contents?: true
Size: 841 Bytes
Versions: 8
Compression:
Stored size: 841 Bytes
Contents
require_relative '../../spec_helper' describe AIXM do describe :initialize_config do it "must use AIXM" do AIXM.send :initialize_config AIXM.schema.must_equal :aixm end end describe :config do it "must set and get arbitrary config options" do AIXM.config.foo = :bar AIXM.config.foo.must_equal :bar end end describe :schema do it "must return schema identifier" do AIXM.aixm! AIXM.schema.must_equal :aixm end it "must return schema details" do AIXM.aixm! AIXM.schema(:root).must_equal 'AIXM-Snapshot' end end describe "<schema>! and <schema>?" do it "must set and query schemas" do AIXM.aixm! AIXM.must_be :aixm? AIXM.wont_be :ofmx? AIXM.ofmx! AIXM.wont_be :aixm? AIXM.must_be :ofmx? end end end
Version data entries
8 entries across 8 versions & 1 rubygems