Tell me please how to check if returned object in should_receive is an instance of ClassName.
Messaging.should_receive(:send_text).with(:foo, :bar, object)
Rails 3
Aucun commentaire:
Enregistrer un commentaire