Sha256: 13df94eaab3a762b33affb730e4896be1e6d5647a5c483828434dd7fa3e502de
Contents?: true
Size: 716 Bytes
Versions: 11
Compression:
Stored size: 716 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'dub' class Test::Unit::TestCase def self.fixture(path) File.join(File.dirname(__FILE__), 'fixtures', path) end @@namespacecv_xml = nil Dub.logger.level = Logger::FATAL def fixture(path) self.class.fixture(path) end def namespacecv_xml @@namespacecv_xml ||= Dub.parse(fixture('namespacecv.xml')) end def namespacedub_xml @@namespacedub_xml ||= Dub.parse(fixture('app/xml/namespacedub.xml')) end def groupmagic_xml @@groupmagic_xml ||= Dub.parse(fixture('group___magic_type.xml')) end end
Version data entries
11 entries across 11 versions & 1 rubygems