A Deep Dive Into RSpec Tests in Ruby on Rails
In our last post, we looked at the basics of RSpec and explored how well it works with Behavior Driven Development in Ruby.
Now, we will look at specific types of RSpec tests for different parts of a Ruby on Rails application.
Let's dive straight in!
Unit, Controller, and Integration Tests in Ruby on Rails
A Ruby on Rails application is composed of several layers. As the framework is built around Models, Views, and Controllers, we might think of those three as the only layers of an application. ...
Read more at blog.appsignal.com