Sha256: d019e89c348b3b152ceb282c5cd079dd1b7981c3bbdc545111a22ea32f657a15
Contents?: true
Size: 460 Bytes
Versions: 13
Compression:
Stored size: 460 Bytes
Contents
require 'test_helper' class ImagesShowIndexTest < ActionDispatch::IntegrationTest # This is important otherwise there is some strange reloading that goes on test "should have a class on the body" do visit(lentil.image_path lentil_images(:one)) assert page.has_selector?('body.lentil-images_show') end test "video should have a video tag" do visit(lentil.image_path lentil_images(:video)) assert page.has_selector?('video') end end
Version data entries
13 entries across 13 versions & 1 rubygems