diff options
author | Andre Arko and Terence Lee <andre.arko+terence.lee@gmail.com> | 2011-01-24 16:22:01 -0800 |
---|---|---|
committer | Andre Arko and Terence Lee <andre.arko+terence.lee@gmail.com> | 2011-01-24 16:29:12 -0800 |
commit | 7e6cac483a0fefcc8e3f8c4e021d87607123376a (patch) | |
tree | 1a0cd319743242762c0e0dbbea47bc8b6f2ad00a | |
parent | f0e9ca3fc851e0bd858d3da64f86751a26db533a (diff) | |
download | bundler-7e6cac483a0fefcc8e3f8c4e021d87607123376a.tar.gz |
Add test for :path gems with YAML specs
-rw-r--r-- | spec/install/gems/simple_case_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb index c27642ac7a..a427367b26 100644 --- a/spec/install/gems/simple_case_spec.rb +++ b/spec/install/gems/simple_case_spec.rb @@ -545,6 +545,15 @@ describe "bundle install with gem sources" do bundle :install err.should be_empty end + + it "still installs correctly when using path" do + build_lib 'yaml_spec', :gemspec => :yaml + + install_gemfile <<-G + gem 'yaml_spec', :path => "#{lib_path('yaml_spec-1.0')}" + G + err.should == "" + end end describe "when the gem has an architecture in its platform" do |