summaryrefslogtreecommitdiffstats
path: root/spec/unit/application
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application')
-rwxr-xr-x[-rw-r--r--]spec/unit/application/ralsh.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/application/ralsh.rb b/spec/unit/application/ralsh.rb
index 4372dac37..dbc196cdf 100644..100755
--- a/spec/unit/application/ralsh.rb
+++ b/spec/unit/application/ralsh.rb
@@ -47,6 +47,11 @@ describe "ralsh" do
@ralsh.extra_params.should == []
end
+
+ it "should load Facter facts" do
+ Facter.expects(:loadfacts).once
+ @ralsh.run_preinit
+ end
end
describe "when handling options" do