spec/unit/plugins/windows/filesystem_spec.rb in ohai-14.15.0 vs spec/unit/plugins/windows/filesystem_spec.rb in ohai-15.0.35
- 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_relative "../../../spec_helper.rb"
+require "spec_helper"
require "wmi-lite/wmi"
describe Ohai::System, "Windows Filesystem Plugin", :windows_only do
let(:plugin) { get_plugin("windows/filesystem") }
@@ -39,10 +39,10 @@
"caption" => "D:",
"deviceid" => "D:",
"size" => "10000000",
"filesystem" => "FAT32",
"freespace" => "100000",
- "name" => "D:"
+ "name" => "D:",
# Lets not pass "volumename" for this drive
}
]
end