How to Install and Uninstall ruby-rails-controller-testing Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "ruby-rails-controller-testing" package

Please follow the step by step instructions below to install ruby-rails-controller-testing on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-rails-controller-testing

2. Uninstall "ruby-rails-controller-testing" package

Please follow the guidance below to uninstall ruby-rails-controller-testing on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-rails-controller-testing $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-rails-controller-testing package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-rails-controller-testing
Architecture: all
Version: 1.0.5-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37
Depends: ruby | ruby-interpreter, ruby-actionpack, ruby-actionview, ruby-activesupport
Filename: pool/universe/r/ruby-rails-controller-testing/ruby-rails-controller-testing_1.0.5-1_all.deb
Size: 6788
MD5sum: 773fb3d93804e1922625e799cb7ff2f0
SHA1: 9e7617583da8a75f9c340d2342c0493707eaf486
SHA256: 7c68f4f219609ebd3896cd2176fa51832e034cb73557c7472cdd5f099c54c4b4
SHA512: 210bb3fa69291345888e5b30b86bcaad1b650b43fcc97e230d2407f85ffef6bd920b6a82c954f8934c7a0c18da77216189fe30951f0377818666ca92f23629b1
Homepage: https://github.com/rails/rails-controller-testing
Description-en: Extracting `assigns` and `assert_template` from ActionDispatch
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.
Description-md5: 0479d8418614a9a7d2a54a28f3eb6415
Ruby-Versions: all