There's actually a `be_nil` method provided by rspec that would be a better option, here:

```ruby
expect(user.latitude).not_to be_nil
```