```ruby
require 'coveralls/rake/task'
Coveralls::RakeTask.new
task :test_with_coveralls => ['spec:models', :features, 'coveralls:push']
```

Use non-deprecated 'cucumber' rake task.
user
```ruby
require 'coveralls/rake/task'
Coveralls::RakeTask.new
task :test_with_coveralls => ['spec:models', :cucumber, 'coveralls:push']
```
assistant