diff options
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r-- | spec/support/path.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb index 133d86e722..70ce645c0a 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -25,6 +25,10 @@ module Spec @spec_dir ||= root.join(ruby_core? ? "spec/bundler" : "spec") end + def tracked_files + @tracked_files ||= ruby_core? ? `git ls-files -z -- lib/bundler lib/bundler.rb spec/bundler` : `git ls-files -z` + end + def tmp(*path) root.join("tmp", *path) end |