Sha256: ca98f33f357afb2474f09572c72d69b31b16d276fca4eb9e553943f0643bc11f

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

class DashboardsController < ApplicationController
  
  power :always_true

  def show
    observe(current_power)
  end

  def error
    raise 'error during action'
  end

  private

  def observe(object)
    # test spy
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
consul-0.4.0 spec/rails-2.3/app_root/app/controllers/dashboards_controller.rb
consul-0.3.0 spec/app_root/app/controllers/dashboards_controller.rb
consul-0.2.3 spec/app_root/app/controllers/dashboards_controller.rb
consul-0.2.2 spec/app_root/app/controllers/dashboards_controller.rb
consul-0.2.1 spec/app_root/app/controllers/dashboards_controller.rb
consul-0.2.0 spec/app_root/app/controllers/dashboards_controller.rb