diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 09:50:09 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-11-30 09:50:17 -0600 |
commit | 1f10c7f07fdbe5b664272d54657b5687bc881810 (patch) | |
tree | 3a7a8fc2c7a557492ab1fbccf8709b634df2fc24 /spec | |
parent | 8d7b9e1fbea3c731ea76cf22f2aa854885678127 (diff) | |
download | bundler-1f10c7f07fdbe5b664272d54657b5687bc881810.tar.gz |
[RubyGems] Old RG compatibility for skipping specs with missing extensions
Diffstat (limited to 'spec')
-rw-r--r-- | spec/install/gemfile/git_spec.rb | 6 | ||||
-rw-r--r-- | spec/install/path_spec.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb index f70ea5b4..85a7693b 100644 --- a/spec/install/gemfile/git_spec.rb +++ b/spec/install/gemfile/git_spec.rb @@ -1022,20 +1022,20 @@ describe "bundle install with git sources" do gem "foo", :git => "#{lib_path("foo-1.0")}" G - run <<-R + run! <<-R require 'foo' puts FOO R installed_time = out - expect(installed_time).to match(/\d+\.\d+/) + expect(installed_time).to match(/\A\d+\.\d+\z/) install_gemfile <<-G source "file://#{gem_repo1}" gem "foo", :git => "#{lib_path("foo-1.0")}" G - run <<-R + run! <<-R require 'foo' puts FOO R diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb index 04eeb2d9..9a8d61ea 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -129,7 +129,7 @@ describe "bundle install" do expect(the_bundle).to include_gems "rack 1.0.0" end - it "re-installs gems whose extensions have been deleted" do + it "re-installs gems whose extensions have been deleted", :rubygems => ">= 2.3" do build_lib "very_simple_binary", "1.0.0", :to_system => true do |s| s.write "lib/very_simple_binary.rb", "raise 'FAIL'" end |