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

- old
+ new

@@ -13,10 +13,10 @@ # distributed under the License is distributed on an "AS IS" BASIS, # 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_relative "../../../spec_helper.rb" describe Ohai::System, "AIX os plugin" do before(:each) do @plugin = get_plugin("aix/os") allow(@plugin).to receive(:collect_os).and_return(:aix)