Sha256: 3164036b7b09824e7c87cc00c01d0c47db6c6e09463761e408379c1843edaa62

Contents?: true

Size: 918 Bytes

Versions: 5

Compression:

Stored size: 918 Bytes

Contents

require 'test_helper'

module Vedeu

  module Bindings

    describe Menus do

      context 'the menu specific events are defined' do
        it { Vedeu.events.registered?(:_menu_bottom_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_current_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_deselect_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_items_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_next_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_prev_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_selected_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_select_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_top_).must_equal(true) }
        it { Vedeu.events.registered?(:_menu_view_).must_equal(true) }
      end

    end # Menus

  end # Bindings

end # Vedeu

Version data entries

5 entries across 5 versions & 1 rubygems

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