summaryrefslogtreecommitdiff
path: root/spec/unit/plugins/go_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/plugins/go_spec.rb')
-rw-r--r--spec/unit/plugins/go_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/plugins/go_spec.rb b/spec/unit/plugins/go_spec.rb
index 7bd3cd79..86d018c2 100644
--- a/spec/unit/plugins/go_spec.rb
+++ b/spec/unit/plugins/go_spec.rb
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "/spec_helper.rb"))
+require_relative "../../spec_helper.rb"
describe Ohai::System, "plugin go" do
let(:plugin) { get_plugin("go") }