summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2012-08-14 01:25:01 -0500
committerTerence Lee <hone02@gmail.com>2012-08-14 01:25:01 -0500
commit3947232eb0cf27a1720fd2ff293248c86a1735a0 (patch)
tree46d67bf8cad209ccc4c9f1446465ba7b3bc54eec
parent67c6fcba6f97b0a870ae62325b28eb89c9c2ad6c (diff)
downloadbundler-3947232eb0cf27a1720fd2ff293248c86a1735a0.tar.gz
fix test case names
-rw-r--r--spec/runtime/require_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb
index 2f2c73f899..ced3c199ce 100644
--- a/spec/runtime/require_spec.rb
+++ b/spec/runtime/require_spec.rb
@@ -107,7 +107,7 @@ describe "Bundler.require" do
out.should eq("jquery/rails")
end
- it "handles the case where the regex fails" do
+ it "does not mangle explictly given requires" do
gemfile <<-G
path "#{lib_path}"
gem 'jquery-rails', :require => 'jquery-rails'
@@ -119,7 +119,7 @@ describe "Bundler.require" do
err.should == "ZOMG LOAD ERROR"
end
- it "doesn't obscure actual error messages" do
+ it "handles the case where regex fails" do
build_lib "load-fuuu", "1.0.0" do |s|
s.write "lib/load-fuuu.rb", "require 'load/fuuu'"
s.write "lib/load/fuuu.rb", "raise LoadError.new(\"Could not open library 'libfuuu-1.0': libfuuu-1.0: cannot open shared object file: No such file or directory.\")"