[Pkg-puppet-devel] [facter] 275/352: (maint) Remove trailing spaces in blockdevices_spec
Stig Sandbeck Mathisen
ssm at debian.org
Sun Apr 6 22:21:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository facter.
commit 7c3e366087038d2c219c883735cdded60ac441c7
Author: Stefan Schulte <stefan.schulte at taunusstein.net>
Date: Tue Feb 18 01:59:23 2014 +0100
(maint) Remove trailing spaces in blockdevices_spec
---
spec/unit/blockdevices_spec.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spec/unit/blockdevices_spec.rb b/spec/unit/blockdevices_spec.rb
index 97ef493..9d12cd9 100644
--- a/spec/unit/blockdevices_spec.rb
+++ b/spec/unit/blockdevices_spec.rb
@@ -64,7 +64,7 @@ describe "Block device facts" do
])
File.stubs(:directory?).returns(true)
-
+
Dir.stubs(:entries).with('/dev/disk/by-uuid/').returns([
".", #wont match the length requirements
"..", #wont match the length requirements
@@ -113,7 +113,7 @@ describe "Block device facts" do
Facter.fact(:blockdevice_sdb_model).value.should == "PERC H700"
Facter.fact(:blockdevice_sdb_vendor).value.should == "DELL"
Facter.fact(:blockdevice_sdb_size).value.should == 4499246678016
- Facter.fact(:blockdevice_sdb_partitions).value.should == 'sdb1,sdb2'
+ Facter.fact(:blockdevice_sdb_partitions).value.should == 'sdb1,sdb2'
#These partitions should have a UUID
%w{ sda1 sda2 sdb1 }.each do |d|
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git
More information about the Pkg-puppet-devel
mailing list