Convert to Rails app, with rspec