Permalink
Browse files

Fix failing test that was not using the cached revision.

  • Loading branch information...
josevalim committed Mar 22, 2012
1 parent d389686 commit f65ba393f43bb697e655645e61e2ca52fc05e28e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/source.rb
View
@@ -816,7 +816,7 @@ def has_app_cache?
end
def app_cache_path
- @app_cache_path ||= Bundler.app_cache.join("#{base_name}-#{shortref_for_path(revision)}")
+ @app_cache_path ||= Bundler.app_cache.join("#{base_name}-#{shortref_for_path(cached_revision || revision)}")
end
def local?

0 comments on commit f65ba39

Please sign in to comment.