diff options
author | Terence Lee <hone02@gmail.com> | 2012-08-14 01:49:56 -0500 |
---|---|---|
committer | Terence Lee <hone02@gmail.com> | 2012-08-14 01:49:56 -0500 |
commit | 8acc82f39d03f9cf0bf1016debdc2e80fe4264fc (patch) | |
tree | b5f9cf862e5b87d6083b7c4ade9d3fd6fe840f10 /spec/runtime/require_spec.rb | |
parent | 3947232eb0cf27a1720fd2ff293248c86a1735a0 (diff) | |
download | bundler-8acc82f39d03f9cf0bf1016debdc2e80fe4264fc.tar.gz |
raise the original error mesasge here
Diffstat (limited to 'spec/runtime/require_spec.rb')
-rw-r--r-- | spec/runtime/require_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb index ced3c199..da65c6af 100644 --- a/spec/runtime/require_spec.rb +++ b/spec/runtime/require_spec.rb @@ -121,8 +121,7 @@ describe "Bundler.require" 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.\")" + 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.\")" end gemfile <<-G |