summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/monkey_patches/alias_should_to_must.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/monkey_patches/alias_should_to_must.rb b/spec/monkey_patches/alias_should_to_must.rb
new file mode 100644
index 000000000..35d3342f2
--- /dev/null
+++ b/spec/monkey_patches/alias_should_to_must.rb
@@ -0,0 +1,5 @@
+class Object
+ # This is necessary because the RAL has a 'should'
+ # method.
+ alias :must :should
+end