Sha256: d0dde117dca0331a0f0d431b8dc3c9837c9ceb23b9579054981768e5d63174eb
Contents?: true
Size: 608 Bytes
Versions: 4
Compression:
Stored size: 608 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems