rspec/rspec-rails — Issue #474: Rails 3.2.rc1: Deprecation warnings related to ActiveSupport::Concern
Author: gmile
Created: 2011-12-28 21:52:01+00:00
State: open

Every now and then I get the following deprecation warning when running my (controller) specs:

```
WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included
automatically. Please define instance methods directly in # instead. (called from
at /home/gmile/experiments/alma/spec/controllers/events_controller_spec.rb:3)
```

It seems that something like [this](https://github.com/amatsuda/kaminari/commit/27a4e6076bc3a0969b9dfa1c8bc4dbe66bbd5b75) should be applied to `rspec-rails`, which affects [pretty much files](https://github.com/rspec/rspec-rails/search?q=%22extend+ActiveSupport%3A%3AConcern%22&choice=code&langOverride=&start=) inside the gem.