Sha256: 6f82956c0ed95142fd7e7ddd8b568f93c59e56dfbdc927fddad4c607e532cab0
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
require 'test_helper' module Vedeu 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 describe '.cursors' do subject { Vedeu.cursors } it { subject.must_be_instance_of(Vedeu::Repository) } end end # Vedeu
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.3.1 | test/lib/vedeu/cursor/all_test.rb |