Sha256: b8a529ec93f4482988ad43c7aa998fa03a34feb5d2b7d74c41d0286cad707f55
Contents?: true
Size: 532 Bytes
Versions: 12
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' describe Kuhsaft::AnchorBrick do let :anchor_brick do Kuhsaft::AnchorBrick.new(caption: 'test-anchor') end describe '#bricks' do it 'can not have childs' do anchor_brick.should_not respond_to(:bricks) end end describe '#user_can_add_childs?' do it 'returns false' do anchor_brick.user_can_add_childs?.should be_false end end describe '#to_id' do it 'returns a parameterized id' do anchor_brick.to_id.should == 'anchor-test-anchor' end end end
Version data entries
12 entries across 12 versions & 2 rubygems