puppetlabs-stdlib/spec/monkey_patches/alias_should_to_must.rb

9 lines
151 B
Ruby
Raw Normal View History

require 'rspec'
class Object
# This is necessary because the RAL has a 'should'
# method.
alias :must :should
alias :must_not :should_not
end