diff options
Diffstat (limited to 'spec/integration/recipes/notifying_block_spec.rb')
-rw-r--r-- | spec/integration/recipes/notifying_block_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/recipes/notifying_block_spec.rb b/spec/integration/recipes/notifying_block_spec.rb index 5f472cecaa..292fce4aac 100644 --- a/spec/integration/recipes/notifying_block_spec.rb +++ b/spec/integration/recipes/notifying_block_spec.rb @@ -23,7 +23,7 @@ describe "notifying_block" do include IntegrationSupport include Chef::Mixin::ShellOut - let(:chef_dir) { File.expand_path("../../../../bin", __FILE__) } + let(:chef_dir) { File.expand_path('../../../bin', __dir__) } let(:chef_client) { "bundle exec chef-client --minimal-ohai" } when_the_repository "notifying_block test one" do |