diff options
author | Bryan Jen <bryan.jen@gmail.com> | 2015-11-20 09:07:56 -0700 |
---|---|---|
committer | Bryan Jen <bryan.jen@gmail.com> | 2015-11-20 09:07:56 -0700 |
commit | 13e307b2c66b9a37fb29bc9c5553dcb6b9b7ea39 (patch) | |
tree | 5ca8a51ff9dfbe15bcf42e11d19e8767b5f37411 /spec/unit/facter/root_home_spec.rb | |
parent | 61333cfc48026af204483d681bd8b10cb44d6fc6 (diff) | |
parent | 13e5d467c97deb530f99e4a82c73b1aff97c9787 (diff) |
Merge pull request #547 from reidmv/fm_3773
(FM-3773) Fix root_home fact on AIX 5.x
Diffstat (limited to 'spec/unit/facter/root_home_spec.rb')
-rwxr-xr-x | spec/unit/facter/root_home_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/facter/root_home_spec.rb b/spec/unit/facter/root_home_spec.rb index ac5160a..a5c2846 100755 --- a/spec/unit/facter/root_home_spec.rb +++ b/spec/unit/facter/root_home_spec.rb @@ -58,7 +58,7 @@ describe 'root_home', :type => :fact do sample_lsuser = File.read(fixtures('lsuser','root')) it "should return /root" do - Facter::Util::Resolution.stubs(:exec).with("lsuser -C -a home root").returns(sample_lsuser) + Facter::Util::Resolution.stubs(:exec).with("lsuser -c -a home root").returns(sample_lsuser) expect(Facter.fact(:root_home).value).to eq(expected_root_home) end end |