spec/update/gems_spec.rb in bundler-1.3.0.pre.8 vs spec/update/gems_spec.rb in bundler-1.3.0
- old
+ new
@@ -65,9 +65,17 @@
bundle "update active-support", :expect_err=>true
expect(out).to include "Did you mean activesupport?"
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)
bundle "update --local"