How to Install ruby-factory-girl-rails in Ubuntu 18.04



Install ruby-factory-girl-rails by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-factory-girl-rails

Description:

provides integration between factory_girl and rails 3.2+

factory_girl_rails provides integration for factory_girl in rails 3.2 and 4.x. . Currently, the only Rails-specific feature is automatic factory definition loading.

Homepage: http://github.com/thoughtbot/factory_girl_rails

Version: 4.7.0-1

Section: universe/ruby