```ruby
RSpec.configure do |config|
  # Add Devise's helpers for controller tests
  config.include Devise::Test::ControllerHelpers, type: :controller
end
```

Add Devise's helpers to View specs as suggested
user
```ruby
RSpec.configure do |config|
  # Add Devise's helpers for controller and view tests
  config.include Devise::Test::ControllerHelpers, type: :controller
  config.include Devise::Test::ControllerHelpers, type: :view
end
```
assistant