Displaying 1 result from an estimated 1 matches for "questionpagescontrol".
2012 Dec 01
6
Why does 'extend ActiveSupport::Concern' cause `undefined method 'recycle!'`?
...meController
include MyEngine::SomeController
def app_some_method
end
# code that''s available by including the Rails Engine code
# def engine_some_method
# end
end
But, this breaks my rpsec controller tests because of an undefined
"recycle" method.
12) Qe::Admin::QuestionPagesController POST reorder
Failure/Error: xhr :post, :create,
NoMethodError:
undefined method `recycle!'' for
#<Qe::Admin::QuestionPagesController:0x007f80aa1c7528>
# ./spec/controllers/admin/pages_controller_spec.rb:69:in `block (2
levels) in <top (required)>'&...