How To Install rubygem-rails-controller-testing on Fedora 36

In this tutorial we learn how to install rubygem-rails-controller-testing in Fedora 36. rubygem-rails-controller-testing is Extracting assigns and assert_template from ActionDispatch

Introduction

In this tutorial we learn how to install rubygem-rails-controller-testing on Fedora 36.

What is rubygem-rails-controller-testing

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

We can use yum or dnf to install rubygem-rails-controller-testing on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-rails-controller-testing.

Install rubygem-rails-controller-testing on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-rails-controller-testing using dnf by running the following command:

sudo dnf -y install rubygem-rails-controller-testing

Install rubygem-rails-controller-testing on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-rails-controller-testing using yum by running the following command:

sudo yum -y install rubygem-rails-controller-testing

How To Uninstall rubygem-rails-controller-testing on Fedora 36

To uninstall only the rubygem-rails-controller-testing package we can use the following command:

sudo dnf remove rubygem-rails-controller-testing

rubygem-rails-controller-testing Package Contents on Fedora 36

/usr/share/gems/gems/rails-controller-testing-1.0.5
/usr/share/gems/gems/rails-controller-testing-1.0.5/LICENSE
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails-controller-testing.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/integration.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/railtie.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/template_assertions.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/test_process.rb
/usr/share/gems/gems/rails-controller-testing-1.0.5/lib/rails/controller/testing/version.rb
/usr/share/gems/specifications/rails-controller-testing-1.0.5.gemspec

References

Summary

In this tutorial we learn how to install rubygem-rails-controller-testing on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).