lib/utensils/custom_matchers.rb in utensils-0.0.6 vs lib/utensils/custom_matchers.rb in utensils-0.0.7
- old
+ new
@@ -96,10 +96,10 @@
if dragonfly_hash
begin
dragonfly_job = Dragonfly::Job.deserialize(dragonfly_hash, Dragonfly[:images])
return true if dragonfly_job.uid == @image.send(:uid)
rescue Dragonfly::Serializer::BadString
- continue
+ next
end
end
end
return false
end