Sha256: 2a741fb65fcb312951a67a53e2f694577a4745ae55b20eec58e12e4cf6327355

Contents?: true

Size: 525 Bytes

Versions: 6

Compression:

Stored size: 525 Bytes

Contents

require 'test_helper'

module Vedeu

  describe Cursors do

    before do
      Cursors.reset
      Registrar.record({ name: 'chromium' })
    end

    describe '#hide' do
      it 'sets the state attribute of the Cursor to :hide' do
        cursor = Cursors.hide
        cursor.state.must_equal(:hide)
      end
    end

    describe '#show' do
      it 'sets the state attribute of the Cursor to :show' do
        cursor = Cursors.show
        cursor.state.must_equal(:show)
      end
    end

  end # Cursors

end # Vedeu

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vedeu-0.2.10 test/lib/vedeu/repositories/cursors_test.rb
vedeu-0.2.9 test/lib/vedeu/repositories/cursors_test.rb
vedeu-0.2.8 test/lib/vedeu/repositories/cursors_test.rb
vedeu-0.2.7 test/lib/vedeu/repositories/cursors_test.rb
vedeu-0.2.6 test/lib/vedeu/repositories/cursors_test.rb
vedeu-0.2.5 test/lib/vedeu/repositories/cursors_test.rb