blob: 52cb978bea30799e842a86f82a9f9e702cf288f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require_relative "../../../spec_helper"
platform_is :windows do
require_relative '../fixtures/classes'
describe "WIN32OLE#_getproperty" do
before :each do
@dict = WIN32OLESpecs.new_ole('Scripting.Dictionary')
end
it "gets value" do
@dict.add('key', 'value')
@dict._getproperty(0, ['key'], [WIN32OLE::VARIANT::VT_BSTR]).should == 'value'
end
end
end
|