Sample application with testcases using rspec