Sha256: d42e3a9feec551629378e0668d650ae7131af2362157bef94a126c7fb0dfc515
Contents?: true
Size: 1.31 KB
Versions: 5
Compression:
Stored size: 1.31 KB
Contents
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. # License: Apache License, Version 2.0 require File.dirname(__FILE__) + '/../../spec_helper' class String describe self do before(:all) do @tm = get_used_tm_sys_tm @value = "18" @methods_array = @value.methods end after(:all) do @tm.close end describe "#axes" do it "should give back a RTM::Axes::String when called on a string, needs a TopicMap" do axes_object = @value.axes(@tm) axes_object.should be_a_kind_of RTM::Axes::String axes_object.construct.should == @value axes_object.tm.should == @tm end end describe "#reverse_atomify" do it "should not be allowed to call" do @methods_array.should_not include("reverse_atomify") end end describe "#reverse_indicators" do it "should not be allowed to call" do @methods_array.should_not include("reverse_indicators") end end describe "#reverse_item" do it "should not be allowed to call" do @methods_array.should_not include("reverse_item") end end describe "#reverse_locators" do it "should not be allowed to call" do @methods_array.should_not include("reverse_locators") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems