Need more explanation of mocks posted by Michael Blyth @ Sat, 21 May 2011...
I’ve only just gotten to the section Introducing IO under Making Your Tests Fast. The discussion jumps into using RSpec mocks without any explanation as far as I can see. I am a beginner with RSpec and...
View ArticleNeed more explanation of mocks posted by Andrés N. Robalino @ Mon, 30 May...
RSpec mocks Twitter::Search’s new method and returns mock_client. Yes, it is basically disconnecting the real “new” method.This is done after you test it works properly, once this happens… you mock it...
View Article
More Pages to Explore .....