Sha256: a0de9880b3da6d542a2f06184827911fa9508a795437b155622dd29d3af84a2d

Contents?: true

Size: 591 Bytes

Versions: 1

Compression:

Stored size: 591 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::Sugar::TopicMap
  module Readable
    describe self do
      before(:each) do
        @tm = get_used_tm_sys_tm
      end
      after(:each) do
        @tm.close
      end

      describe "#read_only?" do
        it "should give back false for all not-only-readable maps" do
          @tm.should be_a_kind_of RTM::TopicMap
          @tm.read_only?.should_not be_true
        end
      end
     
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtm-0.3.1 spec/rtm/sugar/topic_map/readable_spec.rb