opoloo/lines-engine

undefined method `helper` for ActionController::API:Class

aziflaj opened this issue · 1 comments

I'm using Rails controllers that inherit from ActionController::Base and ActionController::API, and when I run specs, this happens:

NoMethodError:
  undefined method `helper' for ActionController::API:Class
# /path/to/gems/lines-engine-1.2.3/lib/lines/engine.rb:33:in `block (2 levels) in <class:Engine>'

Weirdly, the app runs fine (w/o this error) when I run it using bundle exec puma -C config/puma.rb.

I found a fix, will open a PR soon