Last active
March 17, 2019 05:01
-
-
Save g3ortega/ec4b62deea1df707f8d9e0ae79bff63b to your computer and use it in GitHub Desktop.
Rails Testing with RSpec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Cheatsheet for RSpec, to print < | |
https://devhints.io/rspec-rails | |
> Useful Gems for testing < | |
gem 'rspec-rails' | |
gem 'faker' | |
gem "shoulda-matchers", require: false | |
gem 'guard-rspec', require: false | |
### gem "email_spec" | |
gem "factory_bot_rails" | |
gem 'vcr' | |
gem 'webmock' | |
### gem 'simplecov', require: false | |
> Devise Spec Helpers < | |
https://github.com/plataformatec/devise/wiki/How-To:-Test-controllers-with-Rails-(and-RSpec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment