Sha256: b4c848eac6e38c15ebeae1d95c9943b121475c9504831cbcd1c2f2118257e7c8
Contents?: true
Size: 613 Bytes
Versions: 24
Compression:
Stored size: 613 Bytes
Contents
require 'spec_helper' describe Bundler::Source::Rubygems do before do Bundler.stub(:root){ Pathname.new("root") } end describe "caches" do it "should include Bundler.app_cache" do expect(subject.caches).to include(Bundler.app_cache) end it "should include GEM_PATH entries" do Gem.path.each do |path| expect(subject.caches).to include(File.expand_path("#{path}/cache")) end end it "should be an array of strings or pathnames" do subject.caches.each do |cache| expect([String, Pathname]).to include(cache.class) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems