Sha256: 651fb7c7c96b6f7f67c241ce1a30d542df495601dafa4903cb61b4a92885e3ba
Contents?: true
Size: 462 Bytes
Versions: 3
Compression:
Stored size: 462 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lentil-0.5.0 | test/integration/lentil/images_show_test.rb |
lentil-0.4.2 | test/integration/lentil/images_show_test.rb |
lentil-0.4.0 | test/integration/lentil/images_show_test.rb |