test/lib/vedeu/dsl/geometry_test.rb in vedeu-0.4.63 vs test/lib/vedeu/dsl/geometry_test.rb in vedeu-0.4.64

- old
+ new

@@ -75,11 +75,11 @@ describe '#height' do subject { instance.height(6) } it 'sets the attribute to the value' do - subject.must_equal(6) + subject.call.must_equal(6) end context 'DSL #height' do subject { Vedeu.geometry 'geometry' do @@ -134,10 +134,10 @@ describe '#width' do subject { instance.width(25) } it 'sets the attribute to the value' do - subject.must_equal(25) + subject.call.must_equal(25) end context 'DSL #width' do subject { Vedeu.geometry 'geometry' do