Skip to content

Commit 842c47a

Browse files
committed
BUG: special handling of dev_size in remove_prefix
1 parent 7e12e7f commit 842c47a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/unit/facter/physical_volumes_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
Facter::Core::Execution.expects(:exec).at_least(1).returns(pvs_output)
4747
Facter.value(:physical_volumes).should include('/dev/sda' => {
4848
'uuid' => 'dPziSO-573Z-9WuH-q22X-cuyM-gHQx-ZeGbfK',
49+
'dev_size' => '2.00g',
4950
'size' => '2.00g',
5051
'start' => '1.00m',
5152
'free' => '844.00m',
@@ -60,6 +61,7 @@
6061
},
6162
'/dev/sdc' => {
6263
'uuid' => '09ksGm-Pt28-AR9H-NlgQ-QxtG-5uEH-Qzy1RR',
64+
'dev_size' => '2.00g',
6365
'size' => '2.00g',
6466
'start' => '1.00m',
6567
'free' => '2.00g',
@@ -74,6 +76,7 @@
7476
},
7577
'/dev/sdd2' => {
7678
'uuid' => 'PpSFVZ-SS3P-n3a6-ctPF-sb9H-6M85-i0TqBv',
79+
'dev_size' => '19.51g',
7780
'size' => '19.51g',
7881
'start' => '1.00m',
7982
'free' => '44.00m',

0 commit comments

Comments
 (0)