Skip to content

Commit

Permalink
Get tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cook committed May 17, 2011
1 parent 624e121 commit 6bf15cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -6,3 +6,4 @@ gem "jruby-openssl", :platforms => :jruby
# http clients
gem "httpclient", "~> 2.1.7"
gem "curb", "~> 0.7.8", :platforms => :ruby
gem "mock-server", :git => "https://github.com/djanowski/mock-server.git"
1 change: 0 additions & 1 deletion httpi.gemspec
Expand Up @@ -21,7 +21,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "autotest"
s.add_development_dependency "mocha", "~> 0.9.9"
s.add_development_dependency "webmock", "~> 1.4.0"
s.add_development_dependency "mock-server", "~> 0.1.1"

s.files = `git ls-files`.split("\n")
s.require_path = "lib"
Expand Down
4 changes: 2 additions & 2 deletions spec/integration/request_spec.rb
Expand Up @@ -77,15 +77,15 @@
end
end

HTTPI::Adapter.adapters.keys.each do |adapter|
HTTPI::Adapter::ADAPTERS.keys.each do |adapter|
context "using :#{adapter}" do
let(:adapter) { adapter }
it_should_behave_like "an HTTP client"
it_should_behave_like "it works with HTTP basic auth"
end
end

(HTTPI::Adapter.adapters.keys - [:net_http]).each do |adapter|
(HTTPI::Adapter::ADAPTERS.keys - [:net_http]).each do |adapter|
context "using :#{adapter}" do
let(:adapter) { adapter }
it_should_behave_like "it works with HTTP digest auth"
Expand Down

0 comments on commit 6bf15cb

Please sign in to comment.