summaryrefslogtreecommitdiff
path: root/spec/bundler/dsl_spec.rb
diff options
context:
space:
mode:
authorDonnie Tognazzini <donnie.tognazzini@appfolio.com>2016-01-27 13:37:16 -0800
committerDonnie Tognazzini <donnie.tognazzini@appfolio.com>2016-01-27 14:48:23 -0800
commit8f8c1c420131acf76089bdeaa50b5c609aa2e71f (patch)
treed952d200cf5133a80affbf8f0847e32c70423cc2 /spec/bundler/dsl_spec.rb
parent505b95d7bde10660134588e1a21668416621fa3d (diff)
downloadbundler-8f8c1c420131acf76089bdeaa50b5c609aa2e71f.tar.gz
Forwarding root path to Source::Path from Dsl.
Diffstat (limited to 'spec/bundler/dsl_spec.rb')
-rw-r--r--spec/bundler/dsl_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb
index 2d323d64f4..9553c8fd43 100644
--- a/spec/bundler/dsl_spec.rb
+++ b/spec/bundler/dsl_spec.rb
@@ -235,6 +235,7 @@ describe Bundler::Dsl do
it "restores it after it's done" do
other_source = double("other-source")
allow(Bundler::Source::Rubygems).to receive(:new).and_return(other_source)
+ allow(Bundler).to receive(:default_gemfile).and_return(Pathname.new("./Gemfile"))
subject.source("https://other-source.org") do
subject.gem("dobry-pies", :path => "foo")