diff options
author | Andre Arko <andre@arko.net> | 2010-04-19 18:12:16 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-04-23 10:01:07 -0700 |
commit | 2c88f252df04db3f3c61fa3ab282b55a07b07126 (patch) | |
tree | c5e413e3ff6e91f6f72b4405fcd8bc7f3613bf45 /spec/lock | |
parent | 8bf16043244540aba63368e0eabe1eb699561ec4 (diff) | |
download | bundler-2c88f252df04db3f3c61fa3ab282b55a07b07126.tar.gz |
Clarify intent in lock/git_spec
Diffstat (limited to 'spec/lock')
-rw-r--r-- | spec/lock/git_spec.rb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/spec/lock/git_spec.rb b/spec/lock/git_spec.rb index 003250f8ca..f3e25d4cae 100644 --- a/spec/lock/git_spec.rb +++ b/spec/lock/git_spec.rb @@ -1,14 +1,11 @@ require "spec_helper" -describe "bundle lock with git" do +describe "bundle lock with git gems" do before :each do - build_git "foo" do |s| - s.executables = "foo" - end + build_git "foo" install_gemfile <<-G - git "#{lib_path('foo-1.0')}" - gem 'foo' + gem 'foo', :git => "#{lib_path('foo-1.0')}" G end @@ -28,7 +25,7 @@ describe "bundle lock with git" do out.should == "WIN" end - it "provides correct #full_gem_path for executables to run" do + it "provides correct #full_gem_path" do run <<-RUBY puts Gem.source_index.find_name('foo').first.full_gem_path RUBY |