Sha256: ffbe88e14c2c484e3fb31c5ee76cd68c78d35c3e42e5581593b79d81a11346a0
Contents?: true
Size: 480 Bytes
Versions: 10
Compression:
Stored size: 480 Bytes
Contents
require 'test_helper' class ImageModalTest < ActionDispatch::IntegrationTest setup do browser_start end teardown do browser_end end test "should see a modal when clicking on an image" do visit lentil.images_path assert page.has_no_content?('six #hunttesting') assert page.has_no_selector?('.fancybox-image') all('.fancybox').first.click assert page.has_content?('six #hunttesting') assert page.has_selector?('.fancybox-image') end end
Version data entries
10 entries across 10 versions & 1 rubygems