Sha256: d52893ebdbdbfdb62e029b2e823a92682873c54bb7d20a6b3acb61b03b08d9e1
Contents?: true
Size: 511 Bytes
Versions: 15
Compression:
Stored size: 511 Bytes
Contents
require 'test_helper' class ShowTest < ViewCase fixtures :all setup :sign_in def test_resource_contenets_and_links visit adminpanel.product_path(adminpanel_products(:first)) assert_content(adminpanel_products(:first).name) assert_content(adminpanel_products(:first).price) assert_content(adminpanel_products(:first).description) assert_selector 'i.fa.fa-pencil' assert_selector 'i.fa.fa-plus' end protected def sign_in visit adminpanel.signin_path login end end
Version data entries
15 entries across 15 versions & 1 rubygems