How to Install ruby-rails-dom-testing in Ubuntu 18.04



Install ruby-rails-dom-testing by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-rails-dom-testing

Description:

SOM and Selector assertions for Rails applications

This package provides test assertions for dealing with HTML content. DOM trees can be tested using `assert_dom_equal` and `assert_dom_not_equal`, and HTML elements can be tested using `assert_select`, `assert_select_encoded`, `assert_select_email`, and selected with `css_select`.

Homepage: https://github.com/rails/rails-dom-testing

Version: 1.0.6-2

Section: universe/ruby