summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole_type/typekind_spec.rb
blob: 35f356272169dffab4a1c64533842345f8aa54be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
platform_is :windows do
  require 'win32ole'

  describe "WIN32OLE_TYPE#typekind for Shell Controls" do
    before :each do
      @ole_type = WIN32OLE_TYPE.new("Microsoft Shell Controls And Automation", "Shell")
    end

    after :each do
      @ole_type = nil
    end

    it "returns an Integer" do
      @ole_type.typekind.should be_kind_of Integer
    end

  end
end