test/lib/vedeu/cells/borders/bottom_right_test.rb in vedeu-0.7.0 vs test/lib/vedeu/cells/borders/bottom_right_test.rb in vedeu-0.7.1
- old
+ new
@@ -7,23 +7,9 @@
describe BottomRight do
let(:described) { Vedeu::Cells::BottomRight }
let(:instance) { described.new }
- describe '#position' do
- let(:geometry) {
- Vedeu::Geometries::Geometry.new(x: 5, xn: 15, y: 3, yn: 9)
- }
-
- subject { instance.position }
-
- before { Vedeu.geometries.stubs(:by_name).returns(geometry) }
-
- it { subject.must_be_instance_of(Vedeu::Geometries::Position) }
- it { subject.x.must_equal(15) }
- it { subject.y.must_equal(9) }
- end
-
describe '#type' do
subject { instance.type }
it { subject.must_equal(:bottom_right) }
end