Sha256: 126f7a10ee43576856c911bd91d1813b08513259382a6831451d016744496bef

Contents?: true

Size: 614 Bytes

Versions: 62

Compression:

Stored size: 614 Bytes

Contents

require 'spec_helper'

describe Kuhsaft::ColumnBrick do

  let :column_brick do
    Kuhsaft::ColumnBrick.new
  end

  describe '#user_can_delete?' do
    it 'returns false' do
      column_brick.user_can_delete?.should be_false
    end
  end

  describe '#user_can_save' do
    it 'returns false' do
      column_brick.user_can_save?.should be_false
    end
  end

  describe '#renders_own_childs?' do
    it 'returns false' do
      column_brick.renders_own_childs?.should be_false
    end
  end

  describe '#bricks' do
    it 'can have childs' do
      column_brick.should respond_to(:bricks)
    end
  end
end

Version data entries

62 entries across 62 versions & 2 rubygems

Version Path
kuhsaft-1.0.1 spec/models/column_brick_spec.rb
kuhsaft-1.0.0 spec/models/column_brick_spec.rb