Sha256: 55d329bcea9e63e4837104b32ec02a66f1c1a248155d9078bf02bb1ea82b953e

Contents?: true

Size: 368 Bytes

Versions: 3

Compression:

Stored size: 368 Bytes

Contents

class RenderSpecController < ApplicationController
  set_view_path File.join(File.dirname(__FILE__), "..", "views")
  
  def some_action
    respond_to do |format|
      format.html
      format.js
    end
  end
  
  def text_action
    render :text => "this is the text for this action"
  end
  
  def action_with_partial
    render :partial => "a_partial"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_finder-0.1.1 spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb