summaryrefslogtreecommitdiff
path: root/spec/runtime/setup_spec.rb
diff options
context:
space:
mode:
authorCarlhuda <carlhuda@engineyard.com>2010-04-22 14:06:44 -0700
committerCarlhuda <carlhuda@engineyard.com>2010-04-22 14:06:44 -0700
commit0e758607a4e25f9b7eb464c8507331649e412243 (patch)
treeb407b37c4dc133976bca15d4afd1c121b67cd724 /spec/runtime/setup_spec.rb
parent1b4c46a36e16ef9d36b133443f7a12ab0e982302 (diff)
downloadbundler-0e758607a4e25f9b7eb464c8507331649e412243.tar.gz
Fix the Gem::SourceIndex monkey patching
Diffstat (limited to 'spec/runtime/setup_spec.rb')
-rw-r--r--spec/runtime/setup_spec.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 7316cc8526..bfe0e93904 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -76,14 +76,9 @@ describe "Bundler.setup" do
G
end
- it "removes system gem repositories from Gem.path" do
- run "puts Gem.path.join('\n')"
- out.should == Bundler.bundle_path.to_s
- end
-
it "removes system gems from Gem.source_index" do
run "require 'yard'"
- err.should be_empty
+ out.should == "yard-1.0"
end
end
end