Sha256: 82b0d25b9aa11536025f6c2de7784e3f1b30f5cb71ed9e6e7013ee53d0c0fb61

Contents?: true

Size: 578 Bytes

Versions: 5

Compression:

Stored size: 578 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::Construct
  describe self do
    before(:each) do
      @tm = get_used_tm_sys_tm
    end
    after(:each) do
      @tm.close
    end

    describe "#id" do
      it "should return the id of the construct as String" do
        @tm.id.should be_a_kind_of String
        topic = @tm.get!("x")
        topic.id.should be_a_kind_of String
      end
      it "should be tested further"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rtm-0.3.1 spec/rtm/tmapi/core/construct_spec.rb
rtm-0.3.0 spec/rtm/tmapi/core/construct_spec.rb
rtm-0.2.1 spec/rtm/tmapi/core/construct_spec.rb
rtm-0.2.0 spec/rtm/tmapi/core/construct_spec.rb
rtm-0.2 spec/rtm/tmapi/core/construct_spec.rb