Accessing ancester method is fine but asking for child template
I have a strange situation where I'm making a dummy class that inherits from a parent class. it calls the parent method fine but is asking for the child class to provide a view template.
I'm creating the dummy class for testing purposes in a functional test.
Heres basically what I'm trying:
and the error:
ActionController::MissingTemplate: Missing template ../app/views/dummy/song_search.rhtml
class ParentController < ApplicationController
class DummyController < ParentController
#no child method
class ParentControllerTest < Test::Unit::TestCase
@controller = DummyController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
I'm sure it's something obvious I'm missing but I'm just not seeing it.
Thanks for any help,