diff --git a/test/unit/plugins/provisioners/shell/config_test.rb b/test/unit/plugins/provisioners/shell/config_test.rb index 13aa531c6..3e5c6f516 100644 --- a/test/unit/plugins/provisioners/shell/config_test.rb +++ b/test/unit/plugins/provisioners/shell/config_test.rb @@ -30,6 +30,17 @@ describe "VagrantPlugins::Shell::Config" do result["shell provisioner"].should == [] end + it "passes with fixnum args" do + subject.path = file_that_exists + subject.args = 1 + subject.finalize! + + result = subject.validate(machine) + + result["shell provisioner"].should == [] + end + + it "passes with array args" do subject.path = file_that_exists subject.args = ["an", "array"]