используй Ruby 1.9 Hash syntax:

```ruby
config.include Devise::TestHelpers, type: :controller
```