source:
other-projects/hathitrust/vagrant-hadoop-cluster/trunk/modules/stdlib/spec/monkey_patches/alias_should_to_must.rb@
30903
Last change on this file since 30903 was 30903, checked in by , 8 years ago | |
---|---|
|
|
File size: 181 bytes |
Rev | Line | |
---|---|---|
[30903] | 1 | #! /usr/bin/env ruby -S rspec |
2 | require 'rspec' | |
3 | ||
4 | class Object | |
5 | # This is necessary because the RAL has a 'should' | |
6 | # method. | |
7 | alias :must :should | |
8 | alias :must_not :should_not | |
9 | end |
Note:
See TracBrowser
for help on using the repository browser.