spec/ohai/plugins/php_spec.rb in ohai-0.5.2 vs spec/ohai/plugins/php_spec.rb in ohai-0.5.4
- 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 File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb')
+require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb'))
describe Ohai::System, "plugin php" do
before(:each) do
@ohai = Ohai::System.new