Sha256: 0c0ee5e297aaa515ae81f1058b7ac3cc4f4f30b6407b8b3b62426e5d2b11d543

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 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::TopicMap
  describe self do
    before(:each) do
      @connection = get_used_tm_sys
      @tm = @connection.create("http://www.example.org/toytm/")
    end
    describe "#associations" do
      it "should give back a Set of Associations" do
        if @tm.topics.empty?
          @tm.from_xtm(File.dirname(__FILE__) + "/../../rtm/spec/resources/toyTM.xtm")
        end
        @tm.associations.should_not be_empty
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtm-majortom-0.3.1-java spec/db/topic_map_spec.rb