test/lib/vedeu/geometry/geometry_test.rb in vedeu-0.4.17 vs test/lib/vedeu/geometry/geometry_test.rb in vedeu-0.4.18

- old
+ new

@@ -31,10 +31,10 @@ before { Terminal.stubs(:size).returns([12, 40]) } describe '#initialize' do subject { instance } - it { subject.must_be_instance_of(Geometry) } + it { subject.must_be_instance_of(described) } it { subject.instance_variable_get('@attributes').must_equal(attributes) } it { subject.instance_variable_get('@centred').must_equal(centred) } it { subject.instance_variable_get('@height').must_equal(height) } it { subject.instance_variable_get('@name').must_equal(_name) } it { subject.instance_variable_get('@width').must_equal(width) }