RuntimeError:
NSInvalidArgumentException: -[Mock buildRequestWithUrl:method:header:body:]: unrecognized selector sent to instance 0x200373ea0
I set the expectations for another method of the same class called :queryStringForDictionary
In this case the expectation and call do work.
@requestBuilder.should_receive(:queryStringForDictionary).and_return( body )
In another project I'm calling the same class from ruby code and there the mocks and expectations do work properly. In this Objective C project they don't.
Thanks in advance,
Gabriel Ayuso