summaryrefslogtreecommitdiff
path: root/spec/update
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-24 13:32:57 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-24 13:32:57 -0500
commit323d6d2e09678f1c3a1653b0bdf1de2f05a86410 (patch)
treebc1791d02dce9c0dc0827220b7a6bd8bb396a1dd /spec/update
parent217b25925ad6f6c67cf7b27c994a70e5098d58f5 (diff)
downloadbundler-323d6d2e09678f1c3a1653b0bdf1de2f05a86410.tar.gz
Untangle the system gem path and the default bundle path in the specs
Diffstat (limited to 'spec/update')
-rw-r--r--spec/update/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index b8f98ade27..95b0a95976 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -56,7 +56,7 @@ RSpec.describe "bundle update" do
it "floats on master when updating all gems that are pinned to the source even if you have child dependencies" do
build_git "foo", :path => lib_path("foo")
- build_gem "bar", :to_system => true do |s|
+ build_gem "bar", :to_bundle => true do |s|
s.add_dependency "foo"
end
@@ -117,7 +117,7 @@ RSpec.describe "bundle update" do
describe "with submodules" do
before :each do
- build_gem "submodule", :to_system => true do |s|
+ build_gem "submodule", :to_bundle => true do |s|
s.write "lib/submodule.rb", "puts 'GEM'"
end