summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/puppetrun.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application/puppetrun.rb')
-rwxr-xr-xspec/unit/application/puppetrun.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/unit/application/puppetrun.rb b/spec/unit/application/puppetrun.rb
index 2a8ccb84a..d44b406e9 100755
--- a/spec/unit/application/puppetrun.rb
+++ b/spec/unit/application/puppetrun.rb
@@ -57,6 +57,18 @@ describe "puppetrun" do
@puppetrun.options[:fqdn].should be_true
end
+
+ it "should set ignoreschedules to 'false'" do
+ @puppetrun.run_preinit
+
+ @puppetrun.options[:ignoreschedules].should be_false
+ end
+
+ it "should set foreground to 'false'" do
+ @puppetrun.run_preinit
+
+ @puppetrun.options[:foreground].should be_false
+ end
end
describe "when applying options" do