diff options
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole_type/helpfile_spec.rb')
-rw-r--r-- | spec/ruby/library/win32ole/win32ole_type/helpfile_spec.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/ruby/library/win32ole/win32ole_type/helpfile_spec.rb b/spec/ruby/library/win32ole/win32ole_type/helpfile_spec.rb new file mode 100644 index 0000000000..01e6945138 --- /dev/null +++ b/spec/ruby/library/win32ole/win32ole_type/helpfile_spec.rb @@ -0,0 +1,18 @@ +platform_is :windows do + require 'win32ole' + + describe "WIN32OLE_TYPE#helpfile 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 empty string" do + @ole_type.helpfile.should be_empty + end + + end +end |