Extend from ApplicationController
This commit is in response to the previous error:
Error:
UserSharesAMessageTest#test_visiting_the_index:
DRb::DRbRemoteError: undefined method `make_response!' for NotesController:Class (NoMethodError)
By extending the project’s
[ApplicationController
][application_controller], the NotesController
gains access to
ActionController::Base.make_response!
.
When the tests are run again, a new error is raised:
Error:
UserSharesAMessageTest#test_visiting_the_index:
AbstractController::ActionNotFound: The action 'index' could not be found for NotesController