title: How can I mock a Net::HTTP.open to a URL in RSPEC
body: <p>This is my code that I want to mock in RSPEC</p>
  
  <pre><code>  url = "http://www.somewebsite.com"
    html = Nokogiri::HTML(open(url).read)
    html.search('div.yty_bar').remove
  </code></pre>
  
  <p>I have seen other examples releated to my question but they dont seem to help.</p>
  
  <p>Thanks</p>