corrected service_spec.rb