- body file path:
%s/\(body\: \)\(File.\+\)\(Rails\.root\), \([^)]\+\))/\1\3.join(\4/g
- headers top-level:
%s/\(content_type\:[^,)]\+\)/headers: { \1 }/g
bundle exec rspec `git status --porcelain | sed -e "s/ M /.\//" | grep "spec\.rb"`
Last active
August 29, 2015 14:06
-
-
Save x0bandeira/c4eb4f37df04231f80ec to your computer and use it in GitHub Desktop.
FakeWeb -> WebMock transition
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment