spec/unit/plugins/linux/mdadm_spec.rb in ohai-13.0.1 vs spec/unit/plugins/linux/mdadm_spec.rb in ohai-13.1.0
- old
+ new
@@ -97,8 +97,14 @@
@plugin.run
expect(@plugin[:mdadm][:md0][:device_counts][item]).to eq(expected_value)
end
end
+ it "should detect member devies" do
+ @plugin.run
+ expect(@plugin[:mdadm][:md0][:members].sort).to eq(
+ %w{sdc sdd sde sdf sdg sdh}
+ )
+ end
end
end