Sha256: 855003156effb045c725a048f3140105370ceeee2942e3580eb069b23314bee4
Contents?: true
Size: 352 Bytes
Versions: 12
Compression:
Stored size: 352 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::ObjectBase do describe "#wrap" do it "dynamically looks op the wrapped object's class" do mod = Class.new GirFFI::ObjectBase mock(GirFFI::ArgHelper).object_pointer_to_object("some-pointer") { "good-result" } mod.wrap("some-pointer").must_equal "good-result" end end end
Version data entries
12 entries across 12 versions & 1 rubygems