summaryrefslogtreecommitdiff
path: root/spec/runtime/require_spec.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-08-25 13:18:34 -0700
committerAndre Arko <andre@arko.net>2011-08-25 13:38:02 -0700
commit0a080f63433d8055034f7d107e85a62bec4b0a1f (patch)
tree8638b25ec1635f8e4ea3a0d0ffad57f677270d15 /spec/runtime/require_spec.rb
parentf50df6659eb1c22355449f54ec29357d13627e53 (diff)
downloadbundler-0a080f63433d8055034f7d107e85a62bec4b0a1f.tar.gz
Y U NOT RUN SPECS, PAST SELF
Revert "Also try to require name/space when gem is name-space" This reverts commit a0d97c4eaecee05e483d07542e6cf0f3407b53a0.
Diffstat (limited to 'spec/runtime/require_spec.rb')
-rw-r--r--spec/runtime/require_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb
index 795fd6cbfe..2f3a515d42 100644
--- a/spec/runtime/require_spec.rb
+++ b/spec/runtime/require_spec.rb
@@ -76,24 +76,6 @@ describe "Bundler.require" do
out.should == "two\nfive"
end
-end
-
-describe "Bundler.require" do
-
- it "requires gems that use dashes to indicate namespaces" do
- build_lib "name-spaces", "1.0.0", :no_default => true do |s|
- s.write "lib/name/spaces.rb", "puts 'worked'"
- end
-
- gemfile <<-G
- gem "name-spaces", :path => "#{lib_path}"
- G
-
- run "Bundler.require"
- out.should == 'worked'
- end
-
-
it "raises an exception if a require is specified but the file does not exist" do
gemfile <<-G
path "#{lib_path}"