Test Driven Development (aka TDD) is where you create test specs of expected outcomes. You can then code your way to pass these tests. The opposite of this method of coding is Behavioral Driven Development (BDD).
First thing we need to do is install the ‘rspec-rails’ gem. We want this in the development test section in our gem file.