KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Though my question is pretty straightforward, I failed to find an answer around here: How can I stub a method and return the parameter itself (for example on a method that does an array-operation)? Something like this: interface.stub!(:get_trace).with(<whatever_here>).and_return(<whatever_here>)
Tags (comma-separated)
Save Edits
Cancel