Update Code test by Rspec