This gem brings back assigns to your controller tests as well as assert_template to both controller and integration tests.If you use those methods, after upgrading to Ruby on Rails 5, you will have to add it.
They’ll introduce you to all the cool new Rails 4.2 features you’ll soon be able to use.
The upgrade guide will walk you through most of the major changes between Rails versions.
It’ll tell you exactly how to change your app to fix the biggest problems you’ll run into.
Currently there are some gems incompatibilities (I will cover them later) and with some, you need to go edge.
Here’s a list of gems that I had to switch to edge (or use a specific version) in order to get things running: gem 'rails', '5.0.0.beta1' gem 'devise', github: 'plataformatec/devise' gem 'responders', github: 'plataformatec/responders' gem 'ransack', github: 'activerecord-hackery/ransack' gem 'kaminari', github: 'amatsuda/kaminari' gem 'mailboxer', github: 'mailboxer/mailboxer' group :test do gem 'rspec', github: 'rspec/rspec' gem 'rspec-mocks', github: 'rspec/rspec-mocks' gem 'rspec-expectations', github: 'rspec/rspec-expectations' gem 'rspec-support', github: 'rspec/rspec-support' gem 'rspec-core', github: 'rspec/rspec-core' gem 'rspec-rails', github: 'rspec/rspec-rails', branch: 'rails-5-support-patches' gem 'rails-controller-testing' end Note that I’ve added a rails-controller-testing gem.