drapergem / draper

Decorators/View-Models for Rails Applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined method `auto_link' for spec with type :decorator

Ivanov-Anton opened this issue · comments

`Failure/Error: h.auto_link mobile_route, title

 NoMethodError:
   undefined method `auto_link' for #<#<Class:0x00007fe15e2bde90>:0x00007fe1452a44e0>
   Did you mean?  autoload`

at the system level of tests the method is available but at the level of the decorator it is not available

I assume that when the active_admin is loaded, a mix of certain modules occurs that are not included in my decorator test