Jira (PUP-9361) RSpec has improved since old tests were written

6 views
Skip to first unread message

Jacob Helwig (JIRA)

unread,
Dec 13, 2018, 1:24:05 PM12/13/18
to puppe...@googlegroups.com
Jacob Helwig created an issue
 
Puppet / Task PUP-9361
RSpec has improved since old tests were written
Issue Type: Task Task
Assignee: Unassigned
Created: 2018/12/13 10:23 AM
Priority: Normal Normal
Reporter: Jacob Helwig

https://github.com/puppetlabs/puppet/blob/045c19491b86f9793523c300ffc84140313c69b8/spec/unit/util/ldap/manager_spec.rb#L469 claims that it's not possible to stub a method and have it yield multiple different values, which is not true with current RSpec-mocks (or even ancient mocha). We should figure out what this test was trying to do that it needed the comment that was left behind.

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

Josh Cooper (JIRA)

unread,
Sep 17, 2019, 11:28:05 PM9/17/19
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Grooming

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:32:01 AM12/2/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Labels: tbd
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages