diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 09:23:12 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-09-07 09:23:12 +0900 |
commit | 40aa4a6ffc3ec34db6dc2a1dea12d6833dfc75d8 (patch) | |
tree | 6183a7e75929be9290b52291fb282897fd264100 /spec/support/path.rb | |
parent | 30c255d16ea0221a263cbc203dd4f5db7ed25160 (diff) | |
download | bundler-40aa4a6ffc3ec34db6dc2a1dea12d6833dfc75d8.tar.gz |
Rename spec to spec_dir, bin to bindir on Spec::Path
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r-- | spec/support/path.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb index f748b11105..b24ac16d5b 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -12,12 +12,12 @@ module Spec @gemspec ||= Pathname.new(File.expand_path(root.join("bundler.gemspec"), __FILE__)) end - def bin - @bin ||= Pathname.new(File.expand_path(root.join("exe"), __FILE__)) + def bindir + @bindir ||= Pathname.new(File.expand_path(root.join("exe"), __FILE__)) end - def spec - @spec ||= Pathname.new(File.expand_path(root.join("spec"), __FILE__)) + def spec_dir + @spec_dir ||= Pathname.new(File.expand_path(root.join("spec"), __FILE__)) end def tmp(*path) |