Sha256: 44e419d6f46b2e52d6fcb1807e4271f3f643aefc2a06cda5b214542aaf5d5256

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

require File.expand_path('../gir_ffi_test_helper.rb', File.dirname(__FILE__))

require 'ffi-gobject'

describe GObject::Object do
  describe "#get_property" do
    it "is overridden to have arity 1" do
      assert_equal 1,
        GObject::Object.instance_method("get_property").arity
    end

    it 'includes GObject::RubyStyle' do
      assert GObject::Object.included_modules.include?(GObject::RubyStyle)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gir_ffi-0.4.0 test/ffi-gobject/object_test.rb
gir_ffi-0.3.2 test/ffi-gobject/object_test.rb
gir_ffi-0.3.1 test/ffi-gobject/object_test.rb
gir_ffi-0.3.0 test/ffi-gobject/object_test.rb