summaryrefslogtreecommitdiff
path: root/spec/ruby/library/win32ole/win32ole/new_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/win32ole/win32ole/new_spec.rb')
-rw-r--r--spec/ruby/library/win32ole/win32ole/new_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/win32ole/win32ole/new_spec.rb b/spec/ruby/library/win32ole/win32ole/new_spec.rb
index cb45488288..d1c3e02593 100644
--- a/spec/ruby/library/win32ole/win32ole/new_spec.rb
+++ b/spec/ruby/library/win32ole/win32ole/new_spec.rb
@@ -17,7 +17,7 @@ platform_is :windows do
end
it "raises WIN32OLERuntimeError if invalid string is given" do
- lambda { WIN32OLESpecs.new_ole('foo') }.should raise_error( WIN32OLERuntimeError )
+ lambda { WIN32OLE.new('foo') }.should raise_error( WIN32OLERuntimeError )
end
end