Skip to content

Instantly share code, notes, and snippets.

@DmitryBash
Last active December 10, 2018 19:44
Show Gist options
  • Save DmitryBash/07df1e26d08fdf69ca594973cc3ed225 to your computer and use it in GitHub Desktop.
Save DmitryBash/07df1e26d08fdf69ca594973cc3ed225 to your computer and use it in GitHub Desktop.
Test links
http://merle-amber.blogspot.com/2008/09/mock.html
https://vasily.polovnyov.ru/posts/double-mock-stub.html
https://habr.com/post/169381/
http://rubyblog.pro/2017/10/rspec-difference-between-mocks-and-stubs
https://relishapp.com/rspec/rspec-mocks/docs/basics/partial-test-doubles
http://lazybios.com/2016/08/rspec-expectations-cheat-sheet/
https://vasily.polovnyov.ru/posts/double-mock-stub.html
https://vasily.polovnyov.ru/posts/describe-vs-context.html
https://relishapp.com/rspec/rspec-mocks/v/2-99/docs/method-stubs
https://stackoverflow.com/questions/39626805/passing-parameters-to-an-rspec-shared-example
https://stackoverflow.com/questions/25066699/rspec-3-stub-a-class-method
https://relishapp.com/rspec/rspec-mocks/docs/basics/spies
https://robots.thoughtbot.com/remove-duplication-with-factorygirls-traits
https://stackoverflow.com/questions/45823642/factorygirl-override-association-with-trait
https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#linting-factories
https://devhints.io/factory_bot
https://github.com/thoughtbot/factory_bot_rails
https://pdabrowski.com/blog/ruby-on-rails/testing/rspec-difference-between-stubs-and-mocks/
https://semaphoreci.com/community/tutorials/how-to-test-rails-models-with-rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment