We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e49c50 commit 7a1c4a6Copy full SHA for 7a1c4a6
1 file changed
spec/functions/concat_spec.rb
@@ -4,8 +4,9 @@
4
describe "the concat function" do
5
let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
6
7
- it "should raise a ParseError if the client does not provide two arguments" do
+ it "should raise a ParseError if the client does not provide at least two arguments" do
8
expect { scope.function_concat([]) }.to(raise_error(Puppet::ParseError))
9
+ expect { scope.function_concat([[1]]) }.to(raise_error(Puppet::ParseError))
10
end
11
12
it "should raise a ParseError if the first parameter is not an array" do
0 commit comments