Too Long; Didn't Read
Ruby gem RSpec is a Ruby gem for Test-Driven Development. You create tests as you code, so in the future, if an update breaks something, it will be easy to notice because one or more tests will fail. If you don't have RSpec installed on your machine, follow this guide to know how to get it. RSpec's syntax lets us create various scopes which we can use to share variables through tests. The method defines each test, and it is possible to share objects and tests across scopes.