# 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