Sha256: 3469e751d1c322a2191847e9ed07b9b86e11f30fa7e26fa0cd7a2e99709d2f2c

Contents?: true

Size: 380 Bytes

Versions: 13

Compression:

Stored size: 380 Bytes

Contents

require 'gir_ffi_test_helper'

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

13 entries across 13 versions & 1 rubygems

Version Path
gir_ffi-0.6.6 test/ffi-gobject/object_test.rb
gir_ffi-0.6.5 test/ffi-gobject/object_test.rb
gir_ffi-0.6.4 test/ffi-gobject/object_test.rb
gir_ffi-0.6.3 test/ffi-gobject/object_test.rb
gir_ffi-0.6.2 test/ffi-gobject/object_test.rb
gir_ffi-0.6.1 test/ffi-gobject/object_test.rb
gir_ffi-0.6.0 test/ffi-gobject/object_test.rb
gir_ffi-0.5.2 test/ffi-gobject/object_test.rb
gir_ffi-0.5.1 test/ffi-gobject/object_test.rb
gir_ffi-0.5.0 test/ffi-gobject/object_test.rb
gir_ffi-0.4.3 test/ffi-gobject/object_test.rb
gir_ffi-0.4.2 test/ffi-gobject/object_test.rb
gir_ffi-0.4.1 test/ffi-gobject/object_test.rb