finished rspec code