spec/unit/plugins/chef_spec.rb in ohai-8.26.1 vs spec/unit/plugins/chef_spec.rb in ohai-13.0.0
- old
+ new
@@ -17,11 +17,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
begin
- require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper.rb")
-
+ require_relative "../../spec_helper.rb"
require "chef/version"
describe Ohai::System, "plugin chef" do
before(:each) do
@plugin = get_plugin("chef")