spec/unit/plugins/netbsd/platform_spec.rb in ohai-14.15.0 vs spec/unit/plugins/netbsd/platform_spec.rb in ohai-15.0.35
- old
+ new
@@ -14,10 +14,10 @@
# 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_relative "../../../spec_helper.rb"
+require "spec_helper"
describe Ohai::System, "NetBSD plugin platform" do
before(:each) do
@plugin = get_plugin("netbsd/platform")
allow(@plugin).to receive(:shell_out).with("uname -s").and_return(mock_shell_out(0, "NetBSD\n", ""))