spec/zap_spec.rb in owasp_zap-0.0.6 vs spec/zap_spec.rb in owasp_zap-0.0.7

- old
+ new

@@ -124,14 +124,9 @@ describe "status_for" do before do @h = Zap::Zap.new :target=>"http://127.0.0.1" stub_request(:get, "http://127.0.0.1:8080/JSON/spider/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {}) stub_request(:get, "http://127.0.0.1:8080/JSON/ascan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {}) - stub_request(:get, "http://127.0.0.1:8080/JSON/scan/view/status/?zapapiformat=JSON").to_return(:status => 200, :body => {:status=>"100"}.to_json, :headers => {}) - end - - it "should create a ascan" do - @h.status_for(:scan).wont_be :nil? end it "should create a ascan" do @h.status_for(:ascan).wont_be :nil? end