Sha256: 58d4e8dfe0893b8ee239cdc1daf01398e2ed5ee0e8829d4a1f8d5ec8059f8a9d
Contents?: true
Size: 815 Bytes
Versions: 1
Compression:
Stored size: 815 Bytes
Contents
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. # License: Apache License, Version 2.0 require File.dirname(__FILE__) + '/../spec_helper' module RTM::Revision describe self do describe "#specify_event" do it "should give back a symbol if the type is known" do RTM::Revision.specify_event(Type::ASSOCIATION_ADDED).should == :creation end it "should give back nil if the type is not known" do RTM::Revision.specify_event(Type::UNKNOWN).should be_nil end end end # of describe self end class RTM::Revision::Type describe self do describe "Enumeration" do it "should let us call the constants in the enumeration" do RTM::Revision::Type::TYPE_SET.to_s.should == "TYPE_SET" end end end # of describe self end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtm-majortom-0.3.1-java | spec/common/revision_spec.rb |