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

Version Path
lentil-1.0.5 test/integration/lentil/images_show_test.rb
lentil-1.0.4 test/integration/lentil/images_show_test.rb
lentil-1.0.3 test/integration/lentil/images_show_test.rb
lentil-1.0.2 test/integration/lentil/images_show_test.rb
lentil-1.0.1 test/integration/lentil/images_show_test.rb
lentil-1.0.0 test/integration/lentil/images_show_test.rb
lentil-0.9.1 test/integration/lentil/images_show_test.rb
lentil-0.9.0 test/integration/lentil/images_show_test.rb
lentil-0.8.0 test/integration/lentil/images_show_test.rb
lentil-0.7.1 test/integration/lentil/images_show_test.rb
lentil-0.6.0 test/integration/lentil/images_show_test.rb
lentil-0.5.2 test/integration/lentil/images_show_test.rb
lentil-0.5.1 test/integration/lentil/images_show_test.rb