diff options
author | Luke Kanies <luke@madstop.com> | 2008-09-30 16:44:14 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-09-30 16:44:14 -0500 |
commit | 6bc56aecdb08b894961563035551480a01e93d53 (patch) | |
tree | 28bc10d436ed2eacae0dcd5d40dbc2754c9575f0 | |
parent | b9c75cd14cfae6dca035519f13f7d159f2889d0a (diff) | |
download | puppet-6bc56aecdb08b894961563035551480a01e93d53.tar.gz puppet-6bc56aecdb08b894961563035551480a01e93d53.tar.xz puppet-6bc56aecdb08b894961563035551480a01e93d53.zip |
Aliasing the rspec 'should' method to 'must'
so it does not conflict with the RAL 'should' method.
Signed-off-by: Luke Kanies <luke@madstop.com>
-rw-r--r-- | spec/monkey_patches/alias_should_to_must.rb | 5 |
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 |