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