Sha256: 273ec5c14542750b73a44c2cfb7d3759c2636351aeceb140f682a779c82a111a
Contents?: true
Size: 535 Bytes
Versions: 41
Compression:
Stored size: 535 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
41 entries across 41 versions & 1 rubygems