projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add puppet stdlib
[mirror/dsa-puppet.git]
/
modules
/
stdlib
/
spec
/
monkey_patches
/
alias_should_to_must.rb
diff --git a/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb
b/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb
new file mode 100755
(executable)
index 0000000..
1a11117
--- /dev/null
+++ b/
modules/stdlib/spec/monkey_patches/alias_should_to_must.rb
@@ -0,0
+1,8
@@
+require 'rspec'
+
+class Object
+ # This is necessary because the RAL has a 'should'
+ # method.
+ alias :must :should
+ alias :must_not :should_not
+end