Sha256: 4df6aa17e4280dc76e92c12d31bb6827f3be5a70484041ca7433823b96b6da3e
Contents?: true
Size: 533 Bytes
Versions: 8
Compression:
Stored size: 533 Bytes
Contents
require 'introspection_test_helper' describe GObjectIntrospection::IStructInfo do let(:object_info) { get_introspection_data('GObject', 'Closure') } describe '#find_method' do it 'finds a method by name string' do object_info.find_method('new_simple').wont_be_nil end it 'finds a method by name symbol' do object_info.find_method(:new_simple).wont_be_nil end end describe '#type_name' do it 'returns the correct name' do object_info.type_name.must_equal 'GClosure' end end end
Version data entries
8 entries across 8 versions & 1 rubygems