diff options
Diffstat (limited to 'code/environments/production/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb')
-rw-r--r-- | code/environments/production/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/code/environments/production/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb b/code/environments/production/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb new file mode 100644 index 0000000..34dd076 --- /dev/null +++ b/code/environments/production/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 |