blob: 793535b48dbd71ccf91c430f85d3e528b549c446 (
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 'win32ole'
describe "WIN32OLE_TYPE.progids" do
it "raises ArgumentError if an argument is given" do
-> { WIN32OLE_TYPE.progids(1) }.should raise_error ArgumentError
end
it "returns an array containing 'Shell.Explorer'" do
WIN32OLE_TYPE.progids().include?('Shell.Explorer').should be_true
end
end
end
|