summaryrefslogtreecommitdiff
path: root/spec/support/builders.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-07-27 12:07:11 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-02 15:04:28 -0500
commitc607f20d7d200c18cc26edb1346dda847cc4331e (patch)
treeacf0e680184455241cfea3104a48f6c81ff316d0 /spec/support/builders.rb
parent52285c7cefc0daaa99784945a7bc119102f68944 (diff)
downloadbundler-c607f20d7d200c18cc26edb1346dda847cc4331e.tar.gz
[Matchers] Add TheBundle class to make custom matchers more fluent
Diffstat (limited to 'spec/support/builders.rb')
-rw-r--r--spec/support/builders.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index 6ed3a2904e..058b7f1033 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -434,6 +434,7 @@ module Spec
def build_with(builder, name, args, &blk)
@_build_path ||= nil
+ @_build_repo ||= nil
options = args.last.is_a?(Hash) ? args.pop : {}
versions = args.last || "1.0"
spec = nil