Hi!

I have no idea how to test bellow code:

process_urls(urls) do |link|
    results[link.url] = link
 end


https_urls = results
        .select { |_url, link| link.youtube? }
        .map { |url, _link| "https://#{url}"; }

Could you help me to solve this ?

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/9766e61d-9b19-437a-8651-7039fbb2b2c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to