The problem here is that it's trying to call `update_attributes` on the associated user, which is nil. You'll need to assign a user first:

```
describe '#accept' do
  before(:each) do
    user = Factory.create(:user)
    email_update.user = user
  end
end
```