I am trying to find a way to stub any post call from restclient but I didn't found any solution to this. What I tried is
RestClient.stub(:post).returns(response)
But I getting error like wrong number of arguments.
Can anyone help
Aucun commentaire:
Enregistrer un commentaire