summaryrefslogtreecommitdiffstats
path: root/spec/monkey_patches
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-05 17:25:23 -0600
committerLuke Kanies <luke@madstop.com>2008-11-05 17:25:23 -0600
commit44fadd1847e477b713ab2d0de5633ae446a3642e (patch)
tree0209998b8b68e1f7608f2a38010f6fb52d84c108 /spec/monkey_patches
parenta9dbb5de66c9a97d13f7e7ade47bb6c3b5fa2e66 (diff)
downloadpuppet-44fadd1847e477b713ab2d0de5633ae446a3642e.tar.gz
puppet-44fadd1847e477b713ab2d0de5633ae446a3642e.tar.xz
puppet-44fadd1847e477b713ab2d0de5633ae446a3642e.zip
Aliasing "must_not" just like we alias "must"
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/monkey_patches')
-rw-r--r--spec/monkey_patches/alias_should_to_must.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/monkey_patches/alias_should_to_must.rb b/spec/monkey_patches/alias_should_to_must.rb
index 35d3342f2..02fa0875d 100644
--- a/spec/monkey_patches/alias_should_to_must.rb
+++ b/spec/monkey_patches/alias_should_to_must.rb
@@ -2,4 +2,5 @@ class Object
# This is necessary because the RAL has a 'should'
# method.
alias :must :should
+ alias :must_not :should_not
end