0

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)
Mauricio Moraes
  • 7,255
  • 5
  • 39
  • 59
  • Are you calling that in your `config/routes.rb` file? If not, maybe file an issue with the gem project. – tadman May 12 '15 at 21:06
  • 1
    Nope, there is nothing there on the routes.rb. I'll put this issue on the gem project then. Can I link it on github from here? – Mauricio Moraes May 12 '15 at 21:10
  • 2
    Its already reported... It will be solved in Cells 4, as stated by the author here: https://github.com/apotonick/rspec-cells/issues/68 – Mauricio Moraes May 12 '15 at 21:12
  • 1
    If that's the answer, might want to post it as one. It'll help other people with the same problem. – tadman May 14 '15 at 14:41

1 Answers1

0

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.

Mauricio Moraes
  • 7,255
  • 5
  • 39
  • 59