Sha256: 257b6ed0ee3521b521495ee7eb41f006dc2ee1ffcaee240a987b98e9229b6722
Contents?: true
Size: 568 Bytes
Versions: 8
Compression:
Stored size: 568 Bytes
Contents
require 'introspection_test_helper' describe GObjectIntrospection::IInterfaceInfo do let(:object_info) { get_introspection_data('GObject', 'TypePlugin') } describe '#find_method' do it 'finds a method by name string' do object_info.find_method('complete_interface_info').wont_be_nil end it 'finds a method by name symbol' do object_info.find_method(:complete_interface_info).wont_be_nil end end describe '#type_name' do it 'returns the correct name' do object_info.type_name.must_equal 'GTypePlugin' end end end
Version data entries
8 entries across 8 versions & 1 rubygems