diff options
author | Julian Nadeau <julian@jnadeau.ca> | 2017-04-18 15:56:56 -0400 |
---|---|---|
committer | Julian Nadeau <julian@jnadeau.ca> | 2017-04-18 19:57:07 -0400 |
commit | f89408c10294749c3b1c83bc4da733aa3b546866 (patch) | |
tree | 42e9ed50498320edf6dfb294210c82033d2a9ff5 /spec | |
parent | f153ef72f8572eee86e8b1672e29a6a206efb91a (diff) | |
download | bundler-f89408c10294749c3b1c83bc4da733aa3b546866.tar.gz |
Apply source to calculate stub spec extension
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install/gemfile/git_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index d2d46279aa..8843fb7ebb 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -1030,6 +1030,11 @@ RSpec.describe "bundle install with git sources" do puts FOO R expect(out).to eq("YES") + + run! <<-R + puts $:.grep(/ext/) + R + expect(out).to eq(Pathname.glob(system_gem_path("bundler/gems/extensions/**/foo-1.0-*")).first.to_s) end it "does not use old extension after ref changes" do |