ruby-rails-controller-testing

Extracting `assigns` and `assert_template` from ActionDispatch

Description

This gem brings back assigns to your controller tests as well as assert_template to both controller and integration tests.

For projects and gems using controller tests outside of a Rails application, invoke the Rails::Controller::Testing.install method inside your test suite setup to include the required modules on controller test cases.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/rails/rails-controller-testing


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-rails-controller-testing