Search code examples
ruby-on-railsruby-on-rails-4rspecdeprecation-warningrails-cells

render_cell method from cells gem throwing deprecation warnings in rails 4.2.1


I ran my rspec test suite and everytime the render_cell method, from the cells gem, is called, the folowing deprecation warning shows:

DEPRECATION WARNING: `named_routes.helpers` is deprecated, please use `route_defined?(route_name)` to see if a named route was defined. (called from block (4 levels) in <top (required)> at ...

Is it something from the gem internals, from rspec-cells gem, or will I have to change something in my routes?

OBS:

  • ruby (2.2.2)
  • rails (4.2.1)
  • cells (3.11.3)
  • rspec-rails (3.2.1)
  • rspec-cells (0.2.2)

Solution

  • The Issue Was already reported... It's solved in Cells 4, as stated by the author here.

    Cells 4 have some important changes in its structure, as the removal of ActionView as template engine. take a look.