summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-02-18 11:03:38 -0800
committerAndre Arko <andre@arko.net>2013-02-18 11:03:38 -0800
commit332cd2f9dfab04e49330eac20ba8a0e3a3984c3b (patch)
tree9c2fd41b6385abca1ecfb220078b0205edcf2cbd /spec
parent15d1207aed22932240e62b4e33f23c161324f31e (diff)
downloadbundler-332cd2f9dfab04e49330eac20ba8a0e3a3984c3b.tar.gz
test updating child deps (for @sferik)
Diffstat (limited to 'spec')
-rw-r--r--spec/update/gems_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/update/gems_spec.rb b/spec/update/gems_spec.rb
index d94f4e0560..3616fcdd89 100644
--- a/spec/update/gems_spec.rb
+++ b/spec/update/gems_spec.rb
@@ -67,6 +67,14 @@ describe "bundle update" do
end
end
+ describe "with a child dependency" do
+ it "should update the child dependency" do
+ update_repo2
+ bundle "update rack"
+ should_be_installed "rack 1.2"
+ end
+ end
+
describe "with --local option" do
it "doesn't hit repo2" do
FileUtils.rm_rf(gem_repo2)