Skip to content

Instantly share code, notes, and snippets.

@srveit
Created October 17, 2010 21:57
Show Gist options
  • Save srveit/631345 to your computer and use it in GitHub Desktop.
Save srveit/631345 to your computer and use it in GitHub Desktop.
Replaces response. with rendered, in view specs to upgrade to RSpec 2
for f in `grep -nH -rl response --include=*.rb .`
do sed -e 's/response\./rendered./' -i $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment