How can I replace Mocha Syntax to Rack-Test.
Test::Token.expects(:retrieve).with(token).returns(token)
I want to remove mocha gem and use only rack-test. Above syntax is for Mocha gem that I want to write in rack-test syntax. How can I do this?
Aucun commentaire:
Enregistrer un commentaire