diff --git a/spec/unit/parser/ast/definition.rb b/spec/unit/parser/ast/definition.rb
index <HASH>..<HASH> 100755
--- a/spec/unit/parser/ast/definition.rb
+++ b/spec/unit/parser/ast/definition.rb
@@ -30,7 +30,7 @@ describe Puppet::Parser::AST::Definition, "when evaluating" do
     end
 
     it "should have a get_classname method" do
-        @definition.should respond_to :get_classname
+        @definition.should respond_to(:get_classname)
     end
 
     it "should return the current classname with get_classname" do
Fixing ruby warning in definition test