Sha256: 8574d3e8b6e2f4f35a43b5258a175672b0ef8ef82b00e23a9fcf01a5d50522ed
Contents?: true
Size: 655 Bytes
Versions: 15
Compression:
Stored size: 655 Bytes
Contents
require 'test_helper' module Vedeu describe Cursors do let(:described) { Vedeu::Cursors } describe '.cursor' do subject { Vedeu.cursor } context 'when there are cursors are defined' do before do Vedeu::Focus.add('Vedeu.cursor') Vedeu::Cursor.new(name: 'Vedeu.cursor').store end it { subject.must_be_instance_of(Vedeu::Cursor) } end context 'when there are no cursors defined' do before do Vedeu::Focus.reset Vedeu.cursors.reset end it { subject.must_be_instance_of(NilClass) } end end end # Cursors end # Vedeu
Version data entries
15 entries across 15 versions & 1 rubygems