Fixing rspec test for service