~$ add-gem chunky_png
~$ add-file spec/features/show_image_data_spec.rb
~$ replace-in-file app/assets/javascripts/backbone/templates/pictures/picture.jst.ejs <%= image_url %> <img src="<%= image_url %>">
~$ add-file app/models/picture.rb
~$ replace-in-file app/views/pictures/index.json.jbuilder image_data image_url
fix show_image_data_spec.rb
add lib/data-urls
use data urls in picture.rb
~$ add-file spec/features/upload_image_spec.rb
~$ add-file app/assets/javascripts/backbone/templates/pictures/index.jst.ejs
update upload_image_spec
fix index.jst.ejs
~$ add-to-file app/assets/javascripts/backbone/views/pictures/index_view.js.coffee
fix upload_image_spec.rb
~$ replace-in-file app/controllers/pictures_controller.rb image_data image_url
Add require 'spec_helper' to all feature specs
~$ add-file app/controllers/pictures_controller.rb
~$ rm -r spec/controllers
~$ rm app/views/pictures/_form.html.erb app/views/pictures/edit.html.erb app/views/pictures/index.html.erb app/views/pictures/new.html.erb app/views/pictures/show.html.erb
~$ rm -r spec/views