Created
August 11, 2010 21:57
-
-
Save bmsolutions/519847 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ClassProjectsController < ApplicationController | |
def new | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe ClassProjectsController do | |
describe "GET new" do | |
it "should render the new template" do | |
get new_class_project_path | |
response.should render_template('new') | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comint started at Wed Aug 11 17:55:55 | |
rake spec SPEC='/home/yonah/rails_projects/funding_management/spec/controllers/class_projects_controller_spec.rb' SPEC_OPTS='--format specdoc --reverse --line 7' | |
(in /home/yonah/rails_projects/funding_management) | |
DEPRECATION WARNING: Rake tasks in vendor/plugins/annotate_models/tasks are deprecated. Use lib/tasks instead. (called from /var/lib/gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10) | |
ClassProjectsController GET new | |
- should render the new template (FAILED - 1) | |
1) | |
ActionController::UnknownAction in 'ClassProjectsController GET new should render the new template' | |
No action responded to /class_projects/new. Actions: new | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' | |
/var/lib/gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/test_process.rb:567:in `process_with_test' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/test_process.rb:447:in `process' | |
/var/lib/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/test_process.rb:398:in `get' | |
/home/yonah/rails_projects/funding_management/spec/controllers/class_projects_controller_spec.rb:7: | |
Finished in 0.095776 seconds | |
1 example, 1 failure | |
rake aborted! | |
Command /usr/bin/ruby1.8 -I"lib" "/var/lib/gems/1.8/gems/rspec-1.3.0/bin/spec" "/home/yonah/rails_projects/funding_management/spec/controllers/class_projects_controller_spec.rb" --format specdoc --reverse --line 7 failed | |
(See full trace by running task with --trace) | |
Comint exited abnormally with code 1 at Wed Aug 11 17:55:59 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionController::Routing::Routes.draw do |map| | |
map.resources :class_projects | |
map.connect ':controller/:action/:id' | |
map.connect ':controller/:action/:id.:format' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment