Signed-off-by: James Turnbull <[email protected]>
---
spec/unit/parser/lexer.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/spec/unit/parser/lexer.rb b/spec/unit/parser/lexer.rb
index 959f360..a6aebc6 100755
--- a/spec/unit/parser/lexer.rb
+++ b/spec/unit/parser/lexer.rb
@@ -5,7 +5,7 @@ require File.dirname(__FILE__) + '/../../spec_helper'
require 'puppet/parser/lexer'
# This is a special matcher to match easily lexer output
-Spec::Matchers.create :be_like do |ary|
+Spec::Matchers.define :be_like do |ary|
match do |result|
r = true
result.zip(ary) do |a,b|
--
1.6.5.2
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.