Using Rspec to test the code