diff options
Diffstat (limited to 'spec/lock/git_spec.rb')
-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 |