rspec: How to mock a method and return one or more the arguments to the mocked method
April 26, 2012
Here is our example class:
And here is how we can mock the convert method and return one or more the arguments to convert:
Categories:
Ruby