This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install dan-manges-unit_controller
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon May 19 13:48:53 -0700 2008 | |
| |
LICENSE | Fri Oct 10 22:24:47 -0700 2008 | |
| |
README.markdown | Fri Oct 10 22:24:47 -0700 2008 | |
| |
Rakefile | Mon Dec 01 14:01:13 -0800 2008 | |
| |
lib/ | Sat May 31 12:11:55 -0700 2008 | |
| |
test/ | Fri Oct 24 09:37:42 -0700 2008 | |
| |
unit_controller.gemspec | Fri Oct 24 09:37:42 -0700 2008 |
UnitController
UnitController stubs view rendering to help with unit testing controller.
Loading UnitController:
gem "unit_controller"
require "unit_controller"
In the setup method for your test case:
def setup
@controller = SampleController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
@controller.do_not_render_view
end
Development
Active development occurs on the GitHub. Changes are also pushed to the Rubyforge git repository.
For bugs/patches/etc please use the Rubyforge tracker
Maintainer
Contributors
- David Vollbracht
License
Released under the MIT license











