Sha256: d43d603eed88b268096cfba7b2102ff76e2d0be581d17e8c98cd63935f9c19c5

Contents?: true

Size: 644 Bytes

Versions: 16

Compression:

Stored size: 644 Bytes

Contents

require 'spec_helper'

describe Qbrick::ColumnBrick, type: :model do
  let :column_brick do
    Qbrick::ColumnBrick.new
  end

  describe '#user_can_delete?' do
    it 'returns false' do
      expect(column_brick.user_can_delete?).to be_falsey
    end
  end

  describe '#user_can_save' do
    it 'returns false' do
      expect(column_brick.user_can_save?).to be_falsey
    end
  end

  describe '#renders_own_childs?' do
    it 'returns false' do
      expect(column_brick.renders_own_childs?).to be_falsey
    end
  end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 spec/models/column_brick_spec.rb
qbrick-2.7 spec/models/column_brick_spec.rb
qbrick-2.6.10 spec/models/column_brick_spec.rb
qbrick-2.6.9 spec/models/column_brick_spec.rb
qbrick-2.6.8 spec/models/column_brick_spec.rb
qbrick-2.6.7 spec/models/column_brick_spec.rb
qbrick-2.6.6 spec/models/column_brick_spec.rb
qbrick-2.6.5 spec/models/column_brick_spec.rb
qbrick-2.6.4 spec/models/column_brick_spec.rb
qbrick-2.6.3 spec/models/column_brick_spec.rb
qbrick-2.6.2 spec/models/column_brick_spec.rb
qbrick-2.6.1 spec/models/column_brick_spec.rb
qbrick-2.6.0 spec/models/column_brick_spec.rb
qbrick-2.5.2 spec/models/column_brick_spec.rb
qbrick-2.5.1 spec/models/column_brick_spec.rb
qbrick-2.5.0 spec/models/column_brick_spec.rb