lib/utensils/custom_matchers.rb in utensils-3.0.0 vs lib/utensils/custom_matchers.rb in utensils-4.0.0
- old
+ new
@@ -92,10 +92,10 @@
def find_by_url
@page.has_css?("img[src$='#{@image}']")
end
def find_lazy_loaded_image
- @page.has_css?("img[data-original$='#{@image}']")
+ @page.has_css?("img[data-src$='#{@image}']")
end
def find_dragonfly_image
@page.all('img').each do |img|
url = img['src']