Sha256: 3b215157d75ae6811e3b1d90ec2d7f0f7c69d76686bd608ee80a5d2ffc71930a
Contents?: true
Size: 513 Bytes
Versions: 15
Compression:
Stored size: 513 Bytes
Contents
require 'test_helper' class ShowTest < ViewCase fixtures :all setup :sign_in def test_resource_contenets_and_links 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 visit adminpanel.product_path( adminpanel_products(:first) ) end end
Version data entries
15 entries across 15 versions & 1 rubygems