summaryrefslogtreecommitdiff
path: root/spec/unit/run_lock_spec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-02-18 22:35:17 -0800
committerTim Smith <tsmith84@gmail.com>2020-02-18 22:38:38 -0800
commit677b8361870f54978c935ed94fd413ccff230aea (patch)
tree9a6d9063fb8854a162d932bb8cd133d72d43e760 /spec/unit/run_lock_spec.rb
parentc9414338729decf217c8bfc37b1d405619c44331 (diff)
downloadchef-677b8361870f54978c935ed94fd413ccff230aea.tar.gz
Use require_relative within the specsrequire_relative
Simplify how we include the spec_helper via the new cookstyle rule. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/unit/run_lock_spec.rb')
-rw-r--r--spec/unit/run_lock_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/run_lock_spec.rb b/spec/unit/run_lock_spec.rb
index 350a0b2c66..1c185e1603 100644
--- a/spec/unit/run_lock_spec.rb
+++ b/spec/unit/run_lock_spec.rb
@@ -15,7 +15,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require File.expand_path("../../spec_helper", __FILE__)
+require_relative "../spec_helper"
require "chef/client"
describe Chef::RunLock do