Sha256: 67aa79f8f2ff1673c810af751234b0063b7e73252da3cd68c9de1d0e1defc7dc

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require 'spec_helper'

describe VulnDBHQ::Client do

  pending "catches Faraday errors"
  # it "catches Faraday errors" do
  #   subject.stub!(:connection).and_raise(Faraday::Error::ClientError.new("Oups"))
  #   lambda do
  #     subject.request(:get, "/path", {}, {})
  #   end.should raise_error(VulnDBHQ::Error::ClientError, "Oups")
  # end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vulndbhq-0.0.1.beta spec/vulndbhq/client_spec.rb