Sha256: 83128348a318bd3f396b19ee34f4e4eae1d85b7cb8741bcff7542bc216801213
Contents?: true
Size: 592 Bytes
Versions: 56
Compression:
Stored size: 592 Bytes
Contents
require 'spec_helper' describe Kuhsaft::VideoBrick do let :video_brick do Kuhsaft::VideoBrick.new end describe '#valid' do before do video_brick.valid? end context 'without any video source' do it 'has en error' do video_brick.should have(1).error_on(:any_source) end end end describe '#bricks' do it 'can not have childs' do video_brick.should_not respond_to(:bricks) end end describe '#user_can_add_childs?' do it 'returns false' do video_brick.user_can_add_childs?.should be_false end end end
Version data entries
56 entries across 56 versions & 2 rubygems