Fix test failure on OS X 10.10 Yosemite from changes of Cocoa

git-svn-id: https://svn.code.sf.net/p/rubycocoa/svn/trunk/src@2641 f4f36d40-9719-0410-9868-dde021a23eda