...

/

Our First Test using RSpec

Our First Test using RSpec

Learn to generate a test for our User model in this lesson.

Generating spec for our User model

Having installed RSpec in our project, it is not very satisfying to see zero tests running. Let’s rectify that right now by creating our first test so that we can see some actual test code running.

To generate a spec for our User model, we have used:

$
...