Add users request specs
Since Rspec 3.5 http://rspec.info/blog/2016/07/rspec-3-5-has-been-released/, they started to recommend not to use controller specs, but to write request specs.
For example, spec/controllers/users_controller_spec.rb
should be migrated into spec/requests/users_controller_spec.rb
.
Examples
Since we are here, should we include a test to check if
/users/User
will be redirected toUsers#show
?
Edited by Takuya Noguchi