diff options
Diffstat (limited to 'spec/cache/gems_spec.rb')
-rw-r--r-- | spec/cache/gems_spec.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb index 8f80b6e5cc..088a34709d 100644 --- a/spec/cache/gems_spec.rb +++ b/spec/cache/gems_spec.rb @@ -157,6 +157,16 @@ describe "bundle cache" do File.open(bundled_app("vendor/cache/bar"), 'w'){|f| f.write("not a gem") } bundle :cache end + + it "does not say that it is removing gems when it isn't actually doing so" do + install_gemfile <<-G + source "file://#{gem_repo1}" + gem "rack" + G + bundle "cache" + bundle "install" + out.should_not =~ /removing/i + end end -end
\ No newline at end of file +end |