describe_instances_mock = mock()
describe_instances_mock.expects(:reservations).at_least_once.returns( Array.new )
Is it possible to combine these two lines of code in to a single line?
I google and found the mocha README (http://ift.tt/12zADtj) but didn't find an answer for this.
Aucun commentaire:
Enregistrer un commentaire