Sha256: ccb4d03b0f023e9410b3bfd7bafba521c73ff0425ec9f96a1452756bacc9ac77
Contents?: true
Size: 626 Bytes
Versions: 1
Compression:
Stored size: 626 Bytes
Contents
require 'spec_helper' describe Bundler::Source::Rubygems do before do allow(Bundler).to receive(: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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bundler-1.5.3 | spec/bundler/source_spec.rb |