Sha256: 5fa892de216ad9e6cc4fa500a6825a671b0b6bffc59954a15a23dcaa737335dd

Contents?: true

Size: 868 Bytes

Versions: 5

Compression:

Stored size: 868 Bytes

Contents

require 'test_helper'

module Vedeu

  module Bindings

    describe Visibility do

      context 'the visibility events are defined' do
        it { Vedeu.events.registered?(:_cursor_hide_).must_equal(true) }
        it { Vedeu.events.registered?(:_cursor_show_).must_equal(true) }
        it { Vedeu.events.registered?(:_hide_cursor_).must_equal(true) }
        it { Vedeu.events.registered?(:_show_cursor_).must_equal(true) }

        it { Vedeu.events.registered?(:_hide_group_).must_equal(true) }
        it { Vedeu.events.registered?(:_show_group_).must_equal(true) }

        it { Vedeu.events.registered?(:_hide_interface_).must_equal(true) }
        it { Vedeu.events.registered?(:_show_interface_).must_equal(true) }
        it { Vedeu.events.registered?(:_toggle_interface_).must_equal(true) }
      end

    end # Visibility

  end # Bindings

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.4.48 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.4.47 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.4.46 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.4.45 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.4.44 test/lib/vedeu/bindings/visibility_test.rb