Sha256: 0d88ab48035fa5031aae656b9b3b60fede7833eac896f7c9e997ca590f934d73
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::Builder::Type::Enum do describe "creating Regress::TestEnum" do before do save_module :Regress end it "makes the created type know its proper name" do info = get_introspection_data 'Regress', 'TestEnum' builder = GirFFI::Builder::Type::Enum.new info enum = builder.build_class enum.inspect.must_equal "Regress::TestEnum" end after do restore_module :Regress end end end
Version data entries
4 entries across 4 versions & 1 rubygems