Put spaces around arguments in the method call, and use 1.9 style hash:

```ruby
assert_equal({ foo: "omg" }, errors.messages)
```