Skip to content

Commit

Permalink
test for update --local
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Arko and Terence Lee committed Jan 19, 2011
1 parent 08c3817 commit 443b316
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions spec/update/gems_spec.rb
Expand Up @@ -43,6 +43,15 @@
should_be_installed "rack 1.2", "rack-obama 1.0", "activesupport 2.3.5"
end
end

describe "with --local option" do
it "doesn't hit repo2" do
FileUtils.rm_rf(gem_repo2)

bundle "update --local"
out.should_not match(/Fetching source index/)
end
end
end

describe "bundle update in more complicated situations" do
Expand Down

0 comments on commit 443b316

Please sign in to comment.