spec/unit/plugins/root_group_spec.rb in ohai-8.26.1 vs spec/unit/plugins/root_group_spec.rb in ohai-13.0.0

- old
+ new

@@ -14,11 +14,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # -require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper.rb") -require File.expand_path(File.dirname(__FILE__) + "/../../../lib/ohai/util/win32/group_helper.rb") +require_relative "../../spec_helper.rb" +require "ohai/util/win32/group_helper" describe Ohai::System, "root_group" do before(:each) do @plugin = get_plugin("root_group") end