File
action_controller_mock.rb
Path: lib/action_controller_mock.rb
Modified: Wed Mar 11 14:09:43 -0700 2009

Ruby Gem: ActionController::Base Mock

Author:Joel Parker Henderson, joelparkerhenderson@gmail.com
Copyright:Copyright (c) 2006-2009 Joel Parker Henderson
License:CreativeCommons License, Non-commercial Share Alike
License:LGPL, GNU Lesser General Public License

ActionController mock object for testing.

This provides just the basics we need for testing our other gems. You probably won‘t use this class.

Example

  require 'action_controller_mock'
  class ApplicationController < ActionController::Base
    before_filter :foo  # mock
    after_filter :bar   # mock
  end