Sha256: c4609695ee353bc6c2062f3c963d70b24d93f837f57e4c74b2adeb6b6d7ce382

Contents?: true

Size: 365 Bytes

Versions: 21

Compression:

Stored size: 365 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::TextBrick do

  let :text_brick do
    Kuhsaft::TextBrick.new
  end

  describe '#bricks' do
    it 'can not have childs' do
      text_brick.should_not respond_to(:bricks)
    end
  end

  describe '#user_can_add_childs?' do
    it 'returns false' do
      text_brick.user_can_add_childs?.should be_false
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
kuhsaft-1.6.0 spec/models/text_brick_spec.rb
kuhsaft-1.5.0 spec/models/text_brick_spec.rb
kuhsaft-1.4.3 spec/models/text_brick_spec.rb
kuhsaft-1.4.2 spec/models/text_brick_spec.rb
kuhsaft-1.4.1 spec/models/text_brick_spec.rb
kuhsaft-1.4.0 spec/models/text_brick_spec.rb
kuhsaft-1.3.1 spec/models/text_brick_spec.rb
kuhsaft-1.2.15 spec/models/text_brick_spec.rb
kuhsaft-1.2.14 spec/models/text_brick_spec.rb
kuhsaft-1.2.13 spec/models/text_brick_spec.rb
kuhsaft-1.2.10 spec/models/text_brick_spec.rb
kuhsaft-1.2.9 spec/models/text_brick_spec.rb
kuhsaft-1.2.8 spec/models/text_brick_spec.rb
kuhsaft-1.2.7 spec/models/text_brick_spec.rb
kuhsaft-1.2.6 spec/models/text_brick_spec.rb
kuhsaft-1.2.5 spec/models/text_brick_spec.rb
kuhsaft-1.2.4 spec/models/text_brick_spec.rb
kuhsaft-1.2.3 spec/models/text_brick_spec.rb
kuhsaft-1.2.2 spec/models/text_brick_spec.rb
kuhsaft-1.2.1 spec/models/text_brick_spec.rb