diff --git a/spec/integration/support/application.rb b/spec/integration/support/application.rb index 1052c169..7f261e28 100644 --- a/spec/integration/support/application.rb +++ b/spec/integration/support/application.rb @@ -63,22 +63,6 @@ def self.respond_with(options = {}) } end - map "/digest_auth" do - unprotected_app = lambda { |env| - IntegrationServer.respond_with :body => "digest-auth" - } - - realm = 'digest-realm' - app = Rack::Auth::Digest::MD5.new(unprotected_app) do |username| - username == 'admin' ? Digest::MD5.hexdigest("admin:#{realm}:secret") : nil - end - app.realm = realm - app.opaque = 'this-should-be-secret' - app.passwords_hashed = true - - run app - end - map "/multipart" do run lambda { |env| boundary = 'mimepart_boundary' diff --git a/spec/savon/options_spec.rb b/spec/savon/options_spec.rb index 914d3be4..d56e6946 100644 --- a/spec/savon/options_spec.rb +++ b/spec/savon/options_spec.rb @@ -568,15 +568,6 @@ def to_s end end - context "global :digest_auth" do - it "sets the digest auth credentials" do - client = new_client(:endpoint => @server.url(:digest_auth), :digest_auth => ["admin", "secret"]) - response = client.call(:authenticate) - - expect(response.http.body).to eq("digest-auth") - end - end - context "global :ntlm" do it "sets the ntlm credentials to use" do credentials = ["admin", "secret"]