1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Should require at spec file, not fixture file

Fixed ERRORs at non-Windows platforms.

* spec/rubyspec/library/win32ole/fixtures/classes.rb (require): removed.

* spec/rubyspec/library/win32ole/win32ole/ole_get_methods_spec.rb (require):
  forgotten to require 'win32ole'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2017-05-16 16:16:47 +00:00
parent 00f76201b3
commit b1d57ac688
2 changed files with 1 additions and 1 deletions

View file

@ -1,4 +1,3 @@
require 'win32ole'
module WIN32OLESpecs
def self.new_ole(name)
retried = false

View file

@ -1,6 +1,7 @@
require File.expand_path('../../fixtures/classes', __FILE__)
platform_is :windows do
require 'win32ole'
describe "WIN32OLE#ole_get_methods" do