Sha256: 60d1004135de5e6ab4bdddebb3e64f8c33ef6bdb41f8316162caaec44563f102

Contents?: true

Size: 712 Bytes

Versions: 18

Compression:

Stored size: 712 Bytes

Contents

class CakesController < ApplicationController

  power :crud => :cakes, :as => :end_of_association_chain

  def show
    notify_spy
    render_nothing
  end

  def index
    notify_spy
    render_nothing
  end

  def new
    notify_spy
    render_nothing
  end

  def create
    notify_spy
    render_nothing
  end

  def edit
    notify_spy
    render_nothing
  end

  def update
    notify_spy
    render_nothing
  end

  def destroy
    notify_spy
    render_nothing
  end

  def custom_action
    notify_spy
    render_nothing
  end

  private

  def notify_spy
    observe_end_of_association_chain(end_of_association_chain)
  end

  def observe_end_of_association_chain(scope)
    # spy for spec
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
consul-0.12.2 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.12.1 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.12.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.11.2 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.11.1 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.11.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.10.2 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.10.1 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.10.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.9.1 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.9.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.8.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.7.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.6.1 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.6.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.5.0 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.4.2 spec/shared/app_root/app/controllers/cakes_controller.rb
consul-0.4.1 spec/shared/app_root/app/controllers/cakes_controller.rb