diff options
Diffstat (limited to 'spec/install/gems/simple_case_spec.rb')
-rw-r--r-- | spec/install/gems/simple_case_spec.rb | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb index 8ab731ee1e..ac4f3df010 100644 --- a/spec/install/gems/simple_case_spec.rb +++ b/spec/install/gems/simple_case_spec.rb @@ -343,4 +343,21 @@ describe "bundle install with gem sources" do out.should include("no activesupport") end end -end
\ No newline at end of file + + describe "when a gem has a YAML gemspec" do + before :each do + build_repo2 do + build_gem "yaml_spec", :gemspec => :yaml + end + end + + it "still installs correctly" do + gemfile <<-G + source "file://#{gem_repo2}" + gem "yaml_spec" + G + bundle :install + err.should be_empty + end + end +end |