Sha256: e6e5095fe50504ef162dfe3aa2aeb2e0445d3f84208b5fd58a26e586ba00b1ac

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

class ErectorCoexistenceSystemSpecController < ApplicationController
  prepend_view_path "app/v/views"

  def fortitude_widget_in_app_views
    @foo = "bar"
  end

  def fortitude_widget_in_app_v_views
    @foo = "marph"
  end

  def erector_widget_in_app_views
    @foo = "baz"
  end

  def erector_widget_in_app_v_views
    @foo = "quux"
  end

  def render_widget_fortitude
    render :widget => ::Views::FortitudeWidget.new
  end

  def render_widget_erector
    render :widget => ::Views::ErectorWidget.new
  end

  def widget_from_erb_fortitude
    # nothing here
  end

  def widget_from_erb_erector
    # nothing here
  end

  def render_widget_fortitude_class
    render :widget => ::Views::FortitudeWidget
  end

  def render_widget_erector_class
    render :widget => ::Views::ErectorWidget
  end

  def render_erector_widget_from_fortitude_widget
    @instantiate_widget = !! (params[:instantiate_widget] == "true")
  end

  def render_fortitude_widget_from_erector_widget
    @instantiate_widget = !! (params[:instantiate_widget] == "true")
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.6 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.5-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.5 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.4-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.4 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.3-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.3 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.2-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.2 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.1-java spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb
fortitude-0.9.1 spec/rails/templates/erector_coexistence_system_spec/app/controllers/erector_coexistence_system_spec_controller.rb