Sha256: 905ea1d9f19e86dc593dba99c0822997d2f7548c57b8f76121332ee25daa3310
Contents?: true
Size: 600 Bytes
Versions: 56
Compression:
Stored size: 600 Bytes
Contents
require 'spec_helper' describe Kuhsaft::SliderBrick do let :slider_brick do Kuhsaft::SliderBrick.new end describe '#bricks' do it 'can have childs' do slider_brick.should respond_to(:bricks) end end describe '#to_style_class' do it 'includes the bootstrap styles' do slider_brick.to_style_class.should == 'kuhsaft-slider-brick carousel slide' end end describe '#allowed_brick_types' do it 'only allows ImageBricks and VideoBricks' do slider_brick.allowed_brick_types.should == %w(Kuhsaft::ImageBrick Kuhsaft::VideoBrick) end end end
Version data entries
56 entries across 56 versions & 2 rubygems