Sha256: 27fe7cee8a98d30c16775277311f76a5f446d274180684799a89ef08d64ba621
Contents?: true
Size: 1.34 KB
Versions: 6
Compression:
Stored size: 1.34 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?(:_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
6 entries across 6 versions & 1 rubygems