blob: 41752de3596a793332b8470b73d36ce6648b5ea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require File.expand_path('../../fixtures/classes', __FILE__)
platform_is :windows do
require 'win32ole'
describe "WIN32OLE#invoke" do
before :each do
@ie = WIN32OLESpecs.new_ole('InternetExplorer.Application')
end
after :each do
@ie.Quit
end
it "get name by invoking 'Name' OLE method" do
@ie.invoke('Name').should =~ /explorer/i
end
end
end
|