diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-07-11 09:47:05 -0400 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-11 09:47:05 -0400 |
commit | 2c552dcc4d17dfdce49a63df4f59787255448d4a (patch) | |
tree | 9cbb636f8378428fe00b28b1ccfa1ff443f87cc2 | |
parent | e4918347826b3e928e187a44f781df9ae0c16f55 (diff) | |
download | bundler-aa-required-ruby-versions.tar.gz |
Fix ruby < 2.0 spec compatibilityaa-required-ruby-versions
-rw-r--r-- | spec/support/builders.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb index 891c785253..00024db7cf 100644 --- a/spec/support/builders.rb +++ b/spec/support/builders.rb @@ -368,7 +368,7 @@ module Spec end def update_repo(path) - if path == gem_repo1 && caller_locations.first.label != "build_repo" + if path == gem_repo1 && caller.first.split(" ").last == "`build_repo`" raise "Updating gem_repo1 is unsupported -- use gem_repo2 instead" end return unless block_given? |