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
@@ -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