Sha256: 2a2d7241954c7ac5cc55db6a4e02526aa0b2acd2c4c0d36b50fa5603f1269220
Contents?: true
Size: 658 Bytes
Versions: 24
Compression:
Stored size: 658 Bytes
Contents
require 'test_helper' module Vedeu module DSL describe Shared do let(:described) { Vedeu::DSL::Shared } let(:instance) { Class.include(described).new } describe '#border' do context 'when the block is not given' do subject { instance.border } it { proc { subject }.must_raise(Vedeu::Error::RequiresBlock) } end end describe '#geometry' do context 'when the required block is not given' do subject { instance.geometry } it { proc { subject }.must_raise(Vedeu::Error::RequiresBlock) } end end end # Shared end # DSL end # Vedeu
Version data entries
24 entries across 24 versions & 1 rubygems