test/lib/vedeu/cursor/cursor_test.rb in vedeu-0.4.40 vs test/lib/vedeu/cursor/cursor_test.rb in vedeu-0.4.41

- old
+ new

@@ -69,9 +69,15 @@ it { subject.must_equal( '<Vedeu::Cursor (silver, true, x:19, y:8, ox:3, oy:2)>' ) } end + describe '#position' do + subject { instance.position } + + it { subject.must_be_instance_of(Vedeu::Position) } + end + describe '#show_cursor' do subject { instance.show_cursor } it { subject.must_be_instance_of(Vedeu::EscapeChar) } it { subject.to_s.must_equal("\e[?25h") }