Sha256: 3377b9ed925d534b3fa71896be106a8ef31c19796aae6c42ab55c6cc3f461c9a
Contents?: true
Size: 297 Bytes
Versions: 8
Compression:
Stored size: 297 Bytes
Contents
shared_examples_for 'Execution Modes' do describe 'valid mode=' do before do subject.mode = :cache end specify { subject.modes.should == [:cache] } end describe 'invalid mode=' do specify do lambda { subject.mode = :cachy! }.should raise_error end end end
Version data entries
8 entries across 8 versions & 1 rubygems