test/lib/vedeu/cursors/cursor_test.rb in vedeu-0.8.1 vs test/lib/vedeu/cursors/cursor_test.rb in vedeu-0.8.2

- old
+ new

@@ -129,14 +129,11 @@ it { instance.must_respond_to(:==) } end describe '#hide' do let(:visible) { true } - let(:escape) { - Vedeu::Cells::Escape. - new(value: Vedeu::EscapeSequences::Esc.hide_cursor) - } + let(:escape) { Vedeu::Cells::Escape.new(value: Vedeu.esc.hide_cursor) } before do Vedeu::Cells::Escape.stubs(:new).returns(escape) end @@ -272,10 +269,10 @@ describe '#show' do let(:visible) { false } let(:escape) { Vedeu::Cells::Escape. - new(value: Vedeu::EscapeSequences::Esc.show_cursor) + new(value: Vedeu.esc.show_cursor) } before do Vedeu::Cells::Escape.stubs(:new).returns(escape) end