# File spec/spider/spider_instance_spec.rb, line 393 def it_should_prevent_cycles_with(cacher) u = 'http://localhost:8888/' u_p = URI.parse(u) u2 = 'http://localhost:8888/foo' u_p2 = URI.parse(u2) with_web_server(LoopingServlet) do si = SpiderInstance.new(nil => [u]) si.check_already_seen_with cacher si.start! end end