diff --git a/spec/handlers/ruby/base_spec.rb b/spec/handlers/ruby/base_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/handlers/ruby/base_spec.rb
+++ b/spec/handlers/ruby/base_spec.rb
@@ -1,7 +1,7 @@
 require File.dirname(__FILE__) + '/../spec_helper'
 
 describe YARD::Handlers::Ruby::Base, '#valid_handler?' do
-  include YARD::Parser::Ruby; AstNode
+  include YARD::Parser::Ruby; YARD::Parser::Ruby::AstNode
 
   before do
     Handlers::Ruby::Base.stub!(:inherited)
<I> compatibility fix: name resolution behaves differently