Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save captproton/153754 to your computer and use it in GitHub Desktop.
Save captproton/153754 to your computer and use it in GitHub Desktop.
1) Error:
test_should_get_index(HappeningsControllerTest):
ActionView::TemplateError: Missing template events/_nav.html.erb in view path app/views
On line #4 of app/views/happenings/index.html.erb
1: <% unless current_controller == 'search' %>
2: <div class="calendar-large">
3: <%=
4: calendar({:year => @date.year, :month => @date.month}) do |d|
5: cell_text = "#{d.mday}"
6: if (d.to_date == Time.now.utc.to_date)
7: cell_text = "<b>Today #{d.mday}</b>"
app/views/happenings/index.html.erb:4
/opt/local/lib/ruby/gems/1.8/gems/captproton-restfulx-1.2.3/lib/restfulx.rb:69:in `render'
/test/functional/happenings_controller_test.rb:6:in `test_should_get_index'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
/opt/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
/opt/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/opt/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/opt/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
/opt/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
/opt/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
/opt/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
/opt/local/lib/ruby/1.8/test/unit.rb:278
rake (0.8.7) lib/rake/rake_test_loader.rb:5
2) Error:
test_should_get_index(HomeControllerTest):
ActionController::RoutingError: No route matches {:action=>"index", :controller=>"home"}
/test/functional/home_controller_test.rb:6:in `test_should_get_index'
3) Error:
test_should_get_index_if_site_is_private_and_logged_in(HomeControllerTest):
ActionController::RoutingError: No route matches {:action=>"index", :controller=>"home"}
/test/functional/home_controller_test.rb:30:in `test_should_get_index_if_site_is_private_and_logged_in'
4) Error:
test_should_get_index_when_logged_in(HomeControllerTest):
ActionController::RoutingError: No route matches {:action=>"index", :controller=>"home"}
/test/functional/home_controller_test.rb:12:in `test_should_get_index_when_logged_in'
5) Error:
test_should_get_index_when_not_logged_in(HomeControllerTest):
ActionController::RoutingError: No route matches {:action=>"index", :controller=>"home"}
/test/functional/home_controller_test.rb:17:in `test_should_get_index_when_not_logged_in'
6) Error:
test_should_redirect_to_login_if_site_is_private_and_not_logged_in(HomeControllerTest):
ActionController::RoutingError: No route matches {:action=>"index", :controller=>"home"}
/test/functional/home_controller_test.rb:23:in `test_should_redirect_to_login_if_site_is_private_and_not_logged_in'
301 tests, 577 assertions, 0 failures, 6 errors
/opt/local/bin/ruby -I"lib:test" "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/integration/admin_only_create_test.rb" "test/integration/exception_handler_test.rb" "test/integration/fixture_validation_test.rb" "test/integration/home_page_chat_test.rb"
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
....
Finished in 1.932004 seconds.
4 tests, 59 assertions, 0 failures, 0 errors
Errors running test:functionals!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment