Jira (BOLT-1399) Task action stub "parameter" method incorrectly merges options and arguments

0 views
Skip to first unread message

Cas Donoghue (JIRA)

unread,
Jun 17, 2019, 11:05:04 AM6/17/19
to puppe...@googlegroups.com
Cas Donoghue created an issue
 
Puppet Task Runner / Bug BOLT-1399
Task action stub "parameter" method incorrectly merges options and arguments
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2019/06/17 8:04 AM
Priority: Normal Normal
Reporter: Cas Donoghue

When and expectation fails and the parameters method is called to display the options and arguments an exception is raised when attempting to merge hashes with a `+` operator. 

 

https://github.com/puppetlabs/bolt/blob/de5fbd26dcf0be04e8e6c31e71f4201bb8027cf8/lib/bolt_spec/plans/action_stubs/task_stub.rb#L33

 

https://github.com/puppetlabs/bolt/blob/de5fbd26dcf0be04e8e6c31e71f4201bb8027cf8/lib/bolt_spec/plans/action_stubs.rb#L58

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Lucy Wyman (JIRA)

unread,
Jun 18, 2019, 12:51:04 PM6/18/19
to puppe...@googlegroups.com

Tom Beech (JIRA)

unread,
Jun 18, 2019, 4:50:03 PM6/18/19
to puppe...@googlegroups.com

Tom Beech (JIRA)

unread,
Jun 27, 2019, 6:21:02 PM6/27/19
to puppe...@googlegroups.com
Tom Beech updated an issue
Change By: Tom Beech
Release Notes Summary: When a task action stub expectation fails the expected parameters are now properly displayed.
Release Notes: Not Needed Bug Fix

Michelle Fredette (JIRA)

unread,
Jun 27, 2019, 7:07:03 PM6/27/19
to puppe...@googlegroups.com

Michelle Fredette (JIRA)

unread,
Jun 27, 2019, 7:07:03 PM6/27/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages