Sha256: 5abcf77781d034f6680ad5bc6699f3ccedb0f43d827b940914b66708f874c5e5

Contents?: true

Size: 1.4 KB

Versions: 5

Compression:

Stored size: 1.4 KB

Contents

require 'test_helper'

module Vedeu

  module Bindings

    describe Visibility do

      context 'the visibility events are defined' do
        it { Vedeu.bound?(:_clear_).must_equal(true) }
        it { Vedeu.bound?(:_clear_group_).must_equal(true) }
        it { Vedeu.bound?(:_clear_view_).must_equal(true) }
        it { Vedeu.bound?(:_clear_view_content_).must_equal(true) }

        it { Vedeu.bound?(:_cursor_hide_).must_equal(true) }
        it { Vedeu.bound?(:_cursor_show_).must_equal(true) }
        it { Vedeu.bound?(:_hide_cursor_).must_equal(true) }
        it { Vedeu.bound?(:_show_cursor_).must_equal(true) }
        it { Vedeu.bound?(:_toggle_cursor_).must_equal(true) }

        it { Vedeu.bound?(:_hide_group_).must_equal(true) }
        it { Vedeu.bound?(:_show_group_).must_equal(true) }
        it { Vedeu.bound?(:_toggle_group_).must_equal(true) }

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

      # describe ':_some_event_' do
      #   let(:_name) { 'some_name' }
      #
      #   before do
      #     # stub expectation
      #   end
      #
      #   subject { Vedeu.trigger(:_some_event_, _name) }
      #
      #   it {
      #     # expectation
      #     subject
      #   }
      # end

    end # Visibility

  end # Bindings

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.6.26 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.6.25 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.6.24 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.6.23 test/lib/vedeu/bindings/visibility_test.rb
vedeu-0.6.22 test/lib/vedeu/bindings/visibility_test.rb