You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow(data).toreceive(:to_json).and_raise(Puppet::Network::FormatHandler::FormatError,'Could not render to Puppet::Network::Format[json]: source sequence is illegal/malformed utf-8')
185
+
expect(Puppet).toreceive(:warning).with(/Failed to serialize Puppet::IndirectorTesting for 'my data': Could not render to Puppet::Network::Format\[json\]/)
allow(data).toreceive(:to_json).and_raise(Puppet::Network::FormatHandler::FormatError,'Could not render to Puppet::Network::Format[json]: source sequence is illegal/malformed utf-8')
232
+
expect(Puppet).toreceive(:warning).with(/Failed to serialize Puppet::IndirectorTesting for 'my': Could not render_multiple to Puppet::Network::Format\[json\]/)
0 commit comments