diff options
author | Andre Arko <andre@arko.net> | 2012-09-18 23:15:24 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-09-18 23:15:24 -0700 |
commit | f2433f9bede1c2a824834d8359e4c92764878aa2 (patch) | |
tree | d763e5080874f577662b9a066e3a89ceec3d0550 | |
parent | 957a75fe820afc3fdbd8886878b0d6a517bd8b7b (diff) | |
download | bundler-1.2.1.tar.gz |
minor cleanupv1.2.1
-rw-r--r-- | spec/install/gems/dependency_api_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb index 334ff4e4c9..4c6aaeb59d 100644 --- a/spec/install/gems/dependency_api_spec.rb +++ b/spec/install/gems/dependency_api_spec.rb @@ -169,7 +169,7 @@ describe "gemcutter's dependency API" do require 'rack' ENV['GEM_HOME'] = old_gem_home - require File.join(File.dirname(__FILE__), '../../support/artifice/endpoint_timeout') + require File.expand_path('../../../support/artifice/endpoint_timeout', __FILE__) require 'thread' @t = Thread.new { server = Rack::Server.start(:app => EndpointTimeout, @@ -190,7 +190,7 @@ describe "gemcutter's dependency API" do @t.kill end - it "timeouts" do + it "times out and falls back on the modern index" do gemfile <<-G source "#{server_uri}" gem "rack" |