# File lib/spec/rails/example/controller_example_group.rb, line 179 def render(*args) if ::Rails::VERSION::STRING >= "2.1" return super unless __action_exists?(params) || __template_exists?(args) end if file = args.last[:file].instance_eval{@template_path} record_render :file => file elsif args.last[:inline] super elsif @_rendered record_render(args[0]) else super end end