test/lib/vedeu/dsl/presentation_test.rb in vedeu-0.4.31 vs test/lib/vedeu/dsl/presentation_test.rb in vedeu-0.4.32

- old
+ new

@@ -48,19 +48,9 @@ subject { instance.colour(attributes) } it { subject.must_be_instance_of(Vedeu::Colour) } - context 'with an invalid attribute' do - let(:attributes) { { invalid: background, foreground: foreground } } - - it 'sets only the valid attributes' do - subject.attributes.must_equal( - background: '', foreground: '#ff00ff' - ) - end - end - context 'with an empty value' do let(:attributes) { { background: background, foreground: '' } } it 'sets only the valid attributes' do subject.attributes.must_equal(