Created
March 7, 2016 17:32
-
-
Save coliver/5feb2cef41ca3934385e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I use RubyMine. In the find and replace box: | |
find: expect\((.*)\)\.to receive\((.*)\)(\.with\(.*\))?.and_return | |
replace: $1.expects($2).returns( | |
# This does most of the work. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment