Sha256: 47c95a10d1e574c6f8b6393e5a16514d69e37534d6e62a134b712474c83c6408
Contents?: true
Size: 723 Bytes
Versions: 4
Compression:
Stored size: 723 Bytes
Contents
require 'test_helper' describe Gtk::RadioAction do describe '#get_group' do it 'returns a GLib::SList object' do action = Gtk::RadioAction.new 'name', 'label', 'tooltip', nil, 1 grp = action.get_group grp.must_be_instance_of GLib::SList end end describe '#set_group' do let(:action) { Gtk::RadioAction.new 'name', 'label', 'tooltip', nil, 1 } it 'accepts nil' do action.set_group nil pass end it 'accepts a GLib::SList object' do grp = action.get_group other_action = Gtk::RadioAction.new('other-name', 'other-label', 'other-tooltip', nil, 2) other_action.set_group grp pass end end end
Version data entries
4 entries across 4 versions & 1 rubygems