Adding rspec test to cover user_id not sent