service life calculator rspec