aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko and Terence Lee <andre.arko+terence.lee@gmail.com>2011-01-24 16:22:01 -0800
committerAndre Arko and Terence Lee <andre.arko+terence.lee@gmail.com>2011-01-24 16:29:12 -0800
commit7e6cac483a0fefcc8e3f8c4e021d87607123376a (patch)
tree1a0cd319743242762c0e0dbbea47bc8b6f2ad00a /spec
parentf0e9ca3fc851e0bd858d3da64f86751a26db533a (diff)
downloadbundler-7e6cac483a0fefcc8e3f8c4e021d87607123376a.tar.gz
Add test for :path gems with YAML specs
Diffstat (limited to 'spec')
-rw-r--r--spec/install/gems/simple_case_spec.rb9
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 c27642ac..a427367b 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