The `user` variable was not defined in some specs. I also removed the error message for the `ArgumentError` spec because it's different depending on the Ruby version.