diff options
Diffstat (limited to 'spec/support/chef_helpers.rb')
-rw-r--r-- | spec/support/chef_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/chef_helpers.rb b/spec/support/chef_helpers.rb index 810ebe56d7..6a0ca878cd 100644 --- a/spec/support/chef_helpers.rb +++ b/spec/support/chef_helpers.rb @@ -14,8 +14,8 @@ # limitations under the License. # -CHEF_SPEC_DATA = File.expand_path(File.dirname(__FILE__) + "/../data/") -CHEF_SPEC_ASSETS = File.expand_path(File.dirname(__FILE__) + "/../functional/assets/") +CHEF_SPEC_DATA = File.expand_path(__dir__ + "/../data/") +CHEF_SPEC_ASSETS = File.expand_path(__dir__ + "/../functional/assets/") CHEF_SPEC_BACKUP_PATH = File.join(Dir.tmpdir, "test-backup-path") def sha256_checksum(path) |