Sha256: bc7e3b0cb4993f8fcfc304fdde6ffd68d7ddfd3b6dabdee797f34cf215d24498
Contents?: true
Size: 436 Bytes
Versions: 9
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true require 'introspection_test_helper' describe GObjectIntrospection::IEnumInfo do describe '#find_method' do before do gir = GObjectIntrospection::IRepository.default gir.require 'Regress', nil @info = gir.find_by_name 'Regress', 'TestEnum' end it 'finds a method by name' do result = @info.find_method('param') result.name.must_equal 'param' end end end
Version data entries
9 entries across 9 versions & 1 rubygems