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=131e09855e065be940e104d9ab0f18940cc76257;hp=505e240920b4cb3d51aa312c68f28d73c6a79b10;hpb=407d322498f4fde815abf381007fbecfe5c10b2b;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