```ruby
RSpec.describe AuthToken do
  it 'encodes and decodes tokens' do
    token = AuthToken.encode(foo: 'bar')

    expect(AuthToken.decode(token)[:foo]).to eq 'bar'
  end
end
```

Add rails_helper to AuthToken spec
user
```ruby
require 'rails_helper'

RSpec.describe AuthToken do
  it 'encodes and decodes tokens' do
    token = AuthToken.encode(foo: 'bar')

    expect(AuthToken.decode(token)[:foo]).to eq 'bar'
  end
end
```
assistant