diff options
Diffstat (limited to 'spec/monkey_patches/alias_should_to_must.rb')
-rwxr-xr-x | spec/monkey_patches/alias_should_to_must.rb | 8 |
1 files changed, 8 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 100755 index 0000000..1a11117 --- /dev/null +++ b/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 |