Testing on Ruby on Rails [A How-To Guide]
Too Long; Didn't Read
This short presentation will use a couple of ruby gems to help in the testing process. The gems are rspec-rails, shoulda-matchers and factory_bot_rails. The testing stage is a very important step in the software development life-cycle of any application. We’ll create two models for this project; a user and a post. Run the following command to create a user. Then run the.migrate to the app/models/models folder.