Skip to content

Instantly share code, notes, and snippets.

@brycemcd
Created January 28, 2010 07:56
Show Gist options
  • Save brycemcd/288539 to your computer and use it in GitHub Desktop.
Save brycemcd/288539 to your computer and use it in GitHub Desktop.
(in /Library/WebServer/Documents/Projects/mormonpedia.com)
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/unit/article_test.rb" "test/unit/helpers/static_helper_test.rb" "test/unit/page_sharing_mailer_test.rb" "test/unit/page_sharing_test.rb" "test/unit/post_test.rb" "test/unit/query_strings_test.rb" "test/unit/user_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
F.....F
Finished in 0.062678 seconds.
1) Failure:
test_should_be_valid(ArticleTest) [/test/unit/article_test.rb:5]:
<false> is not true.
2) Failure:
test_should_be_valid(UserTest) [/test/unit/user_test.rb:5]:
<false> is not true.
7 tests, 10 assertions, 2 failures, 0 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/articles_controller_test.rb" "test/functional/page_sharings_controller_test.rb" "test/functional/posts_controller_test.rb" "test/functional/static_controller_test.rb" "test/functional/user_sessions_controller_test.rb" "test/functional/users_controller_test.rb"
Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
EE.....EDeprecation Warning: filters on attributes should be done using the :with
option, not :conditions. For example:
:with => {:active => 1}
Deprecation Warning: filters on attributes should be done using the :with
option, not :conditions. For example:
:with => {:active => 1}
FEE...EE.....EE.EEE.EEE.EE
Finished in 0.556473 seconds.
1) Error:
test_create_invalid(ArticlesControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27fb67c>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/articles_controller_test.rb:55:in `test_create_invalid'
2) Error:
test_create_valid(ArticlesControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27fb67c>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/articles_controller_test.rb:61:in `test_create_valid'
3) Error:
test_should_store_query_string(ArticlesControllerTest):
NoMethodError: undefined method `expects' for #<Class:0x27fb67c>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/articles_controller_test.rb:11:in `test_should_store_query_string'
4) Failure:
test_suggest_query_string(ArticlesControllerTest) [/test/functional/articles_controller_test.rb:29]:
<["I am good", "I am bad", "I am angry"]> expected but was
<[]>.
5) Error:
test_update_invalid(ArticlesControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27fb67c>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/articles_controller_test.rb:73:in `test_update_invalid'
6) Error:
test_update_valid(ArticlesControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27fb67c>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/articles_controller_test.rb:79:in `test_update_valid'
7) Error:
test_create_invalid(PostsControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27cfc34>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/posts_controller_test.rb:20:in `test_create_invalid'
8) Error:
test_create_valid(PostsControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27cfc34>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/posts_controller_test.rb:26:in `test_create_valid'
9) Error:
test_update_invalid(PostsControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27cfc34>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/posts_controller_test.rb:37:in `test_update_invalid'
10) Error:
test_update_valid(PostsControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27cfc34>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/posts_controller_test.rb:43:in `test_update_valid'
11) Error:
test_create_invalid(UserSessionsControllerTest):
NoMethodError: undefined method `any_instance' for UserSession:Class
/test/functional/user_sessions_controller_test.rb:10:in `test_create_invalid'
12) Error:
test_create_valid(UserSessionsControllerTest):
NoMethodError: undefined method `any_instance' for UserSession:Class
/test/functional/user_sessions_controller_test.rb:16:in `test_create_valid'
13) Error:
test_destroy(UserSessionsControllerTest):
NoMethodError: undefined method `first' for UserSession:Class
/test/functional/user_sessions_controller_test.rb:22:in `test_destroy'
14) Error:
test_create_invalid(UsersControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27c6d00>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/users_controller_test.rb:10:in `test_create_invalid'
15) Error:
test_create_valid(UsersControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27c6d00>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/users_controller_test.rb:16:in `test_create_valid'
16) Error:
test_edit(UsersControllerTest):
ActionView::TemplateError: Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
On line #1 of app/views/users/_form.html.erb
1: <% form_for @user do |f| %>
2: <%= f.error_messages %>
3:
4:
app/views/users/_form.html.erb:1
app/views/users/edit.html.erb:3
/test/functional/users_controller_test.rb:22:in `test_edit'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
/usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
/usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
/usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
/usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
/usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
/usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
/usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
/usr/local/lib/ruby/1.8/test/unit.rb:278
rake (0.8.7) lib/rake/rake_test_loader.rb:5
17) Error:
test_update_invalid(UsersControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27c6d00>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/users_controller_test.rb:27:in `test_update_invalid'
18) Error:
test_update_valid(UsersControllerTest):
NoMethodError: undefined method `any_instance' for #<Class:0x27c6d00>
/usr/local/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:170:in `method_missing'
/test/functional/users_controller_test.rb:33:in `test_update_valid'
34 tests, 25 assertions, 1 failures, 17 errors
/usr/local/bin/ruby -I"lib:test" "/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment