We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56d3799 + 9a122f8 commit 3f03838Copy full SHA for 3f03838
spec/integration/parser/collection_spec.rb
@@ -8,7 +8,7 @@ def expect_the_message_to_be(expected_messages, code, node = Puppet::Node.new('t
8
catalog = compile_to_catalog(code, node)
9
messages = catalog.resources.find_all { |resource| resource.type == 'Notify' }.
10
collect { |notify| notify[:message] }
11
- expect(messages).to include(*expected_messages)
+ expected_messages.each { |message| expect(messages).to include(message) }
12
end
13
14
def warnings
0 commit comments