X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fstdlib%2Fspec%2Fmonkey_patches%2Falias_should_to_must.rb;h=51a7b9db2b17339ef4b0cb4dce7e5808301294e4;hb=59812388abf4638d6065ffda934d1866af902302;hp=505e240920b4cb3d51aa312c68f28d73c6a79b10;hpb=ad88f67c13ae0f1a08936dad643f1e3509ab5f40;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb b/3rdparty/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb old mode 100755 new mode 100644 index 505e24092..51a7b9db2 --- a/3rdparty/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb +++ b/3rdparty/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb @@ -1,9 +1,8 @@ -#! /usr/bin/env ruby -S rspec require 'rspec' - +# class Object class Object # This is necessary because the RAL has a 'should' # method. - alias :must :should - alias :must_not :should_not + alias must should + alias must_not should_not end