Added modules
This commit is contained in:
parent
c53c931217
commit
59ec520742
646 changed files with 35182 additions and 0 deletions
9
modules/stdlib/spec/monkey_patches/alias_should_to_must.rb
Executable file
9
modules/stdlib/spec/monkey_patches/alias_should_to_must.rb
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /usr/bin/env ruby -S rspec
|
||||
require 'rspec'
|
||||
|
||||
class Object
|
||||
# This is necessary because the RAL has a 'should'
|
||||
# method.
|
||||
alias :must :should
|
||||
alias :must_not :should_not
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue