summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-08-01 23:58:47 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-08-02 17:03:48 +1000
commit6fb8bf625fcfa12b085101838813ab7bc4635dae (patch)
tree1125e2b828c4b1f3fadb3604bb5bd70966b7b40a /spec/unit/parser
parentb3545fc528104c9b2431d8ffddd480c30207b38e (diff)
downloadpuppet-6fb8bf625fcfa12b085101838813ab7bc4635dae.tar.gz
puppet-6fb8bf625fcfa12b085101838813ab7bc4635dae.tar.xz
puppet-6fb8bf625fcfa12b085101838813ab7bc4635dae.zip
Fixing ruby warning in definition test
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/parser')
-rwxr-xr-xspec/unit/parser/ast/definition.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/ast/definition.rb b/spec/unit/parser/ast/definition.rb
index b8f094180..c26706524 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