Show Menu

Rspec Cheat Sheets

Related tags:                        

4 Cheat Sheets tagged with Rspec

  • Sort: Magic
  • Filter:
  • Rating:
1 Page
Quick reference to many expectation methods for testing ruby code via rSpec and optionally Mock.
15 Nov 11, updated 11 May 16
1 Page
Setting expectations in RSpec 3 specs
3 Apr 15, updated 13 May 16
1 Page
FactoryBot is a fixtures replacement with a straightforward definition syntax, support for multiple build strategies (saved instances, unsaved instances, attribute hashes, and stubbed objects), and support for multiple factories for the same class (user, admin_user, and so on), including factory inheritance.
7 Mar 20, updated 8 Mar 20
1 Page
Capybara with RSpec. Content largely taken from ddovii's great cheat sheet and zhengjia's gist. I hope they don't mind!
25 Apr 16, updated 12 May 16

Cheat Sheets by Tag

Top Tags

New Tags