search for: getsecret

Displaying 1 result from an estimated 1 matches for "getsecret".

Did you mean: get_secret
2013 Aug 15
0
Rspec, Puppet Custom Functions and Mocking..
....nextdoor.com/#/c/32/ I welcome any comments overall -- Ruby is clearly not my language of choice so I may have done some silly things in there. Where I''d really like some help is figuring out how to mock the SOAP Driver object. From an Rspec test, how can I reach through the ''getsecret()'' function, into the ''Thycotic'' object that it creates, to mock the ''@driver'' object? In Python this is relatively simple, but Ruby seems to protect the objects more so I''m not really sure how to do this. Part of me was thinking there might...