No, this is not normal; I have 100% passing tests in my edge-CE install, so I assume there's something wrong with your setup. If you're sure that's not the case, please file a bug on Lighthouse.Thanks, Bruno On Tue, May 12, 2009 at 4:44 AM, Dimitri <dmara...@gmail.com> wrote:
> > Hello, I have installed the Edge version of CE to be sure it would > work with rails 2.3.2, but runnong the tests I obtain these errors.. > > rake community_engine:test --trace > > ** Invoke community_engine:test (first_time) > ** Execute community_engine:test > /usr/bin/ruby1.8 -I"lib:lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.5/ > lib/rake/rake_test_loader.rb" "vendor/plugins/community_engine/test/ > unit/choice_test.rb" "vendor/plugins/community_engine/test/unit/ > sb_post_test.rb" "vendor/plugins/community_engine/test/unit/ > friendship_test.rb" "vendor/plugins/community_engine/test/unit/ > state_test.rb" "vendor/plugins/community_engine/test/unit/ > clipping_image_test.rb" "vendor/plugins/community_engine/test/unit/ > poll_test.rb" "vendor/plugins/community_engine/test/unit/ > offering_test.rb" "vendor/plugins/community_engine/test/unit/ > message_test.rb" "vendor/plugins/community_engine/test/unit/ > skill_test.rb" "vendor/plugins/community_engine/test/unit/ > post_test.rb" "vendor/plugins/community_engine/test/unit/ > forum_test.rb" "vendor/plugins/community_engine/test/unit/ > contest_test.rb" "vendor/plugins/community_engine/test/unit/ > comment_test.rb" "vendor/plugins/community_engine/test/unit/ > friendship_status_test.rb" "vendor/plugins/community_engine/test/unit/ > favorite_test.rb" "vendor/plugins/community_engine/test/unit/ > topic_test.rb" "vendor/plugins/community_engine/test/unit/ > country_test.rb" "vendor/plugins/community_engine/test/unit/ > monitorships_test.rb" "vendor/plugins/community_engine/test/unit/ > photo_test.rb" "vendor/plugins/community_engine/test/unit/ > metro_area_test.rb" "vendor/plugins/community_engine/test/unit/ > user_test.rb" "vendor/plugins/community_engine/test/unit/ > user_notifier_test.rb" "vendor/plugins/community_engine/test/unit/ > moderatorship_test.rb" "vendor/plugins/community_engine/test/unit/ > invitation_test.rb" "vendor/plugins/community_engine/test/unit/ > ad_test.rb" "vendor/plugins/community_engine/test/unit/event_test.rb" > "vendor/plugins/community_engine/test/unit/category_test.rb" "vendor/ > plugins/community_engine/test/unit/asset_test.rb" "vendor/plugins/ > community_engine/test/unit/homepage_feature_test.rb" "vendor/plugins/ > community_engine/test/unit/clipping_test.rb" "vendor/plugins/ > community_engine/test/unit/vote_test.rb" "vendor/plugins/ > community_engine/test/functional/monitorships_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > ads_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/invitations_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/photos_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/contests_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > admin_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/favorites_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/activities_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > homepage_features_controller_test.rb" "vendor/plugins/community_engine/ > test/functional/clippings_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/users_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/votes_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > forums_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/base_controller_test.rb" "vendor/plugins/community_engine/ > test/functional/statistics_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/comments_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/sitemap_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > sessions_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/sb_posts_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/posts_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/tags_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > categories_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/metro_areas_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/skills_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/ > friendships_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/offerings_controller_test.rb" "vendor/plugins/ > community_engine/test/functional/topics_controller_test.rb" "vendor/ > plugins/community_engine/test/functional/theme_controller_test.rb" > "vendor/plugins/community_engine/test/functional/ > events_controller_test.rb" "vendor/plugins/community_engine/test/ > functional/moderators_controller_test.rb" > Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake/ > rake_test_loader > Started > > ....................................................................................................................................................................................................E...................................................................................................................................................E........................................................................................................E..........................E......... > Finished in 171.488774 seconds. > > 1) Error: > test_should_require_login(MonitorshipsControllerTest): > RuntimeError: Called id for nil, which would mistakenly be 4 -- if you > really wanted the id of nil, use object_id > vendor/plugins/community_engine/app/controllers/ > monitorships_controller.rb:5:in `create' > haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > monitorships_controller_test.rb:13:in `test_should_require_login' > > 2) Error: > test_should_get_index(StatisticsControllerTest): > NoMethodError: undefined method `today' for Time:Class > vendor/plugins/community_engine/app/controllers/ > statistics_controller.rb:9:in `index' > haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > statistics_controller_test.rb:14:in `test_should_get_index' > > 3) Error: > test_should_get_stats_if_admin(UsersControllerTest): > NoMethodError: undefined method `today' for Time:Class > vendor/plugins/community_engine/app/controllers/ > users_controller.rb:412:in `statistics' > haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > users_controller_test.rb:418:in `test_should_get_stats_if_admin' > > 4) Error: > test_should_show_user_statistics(UsersControllerTest): > NoMethodError: undefined method `today' for Time:Class > vendor/plugins/community_engine/app/controllers/ > users_controller.rb:412:in `statistics' > haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process' > /vendor/plugins/community_engine/test/functional/ > users_controller_test.rb:448:in `test_should_show_user_statistics' > > 486 tests, 824 assertions, 0 failures, 4 errors > rake aborted! > Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:lib" "/usr/ > lib/rub...] > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:991:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1006:in `call' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1006:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1090:in `sh' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1025:in `ruby' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1090:in `ruby' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake/testtask.rb:117:in > `define' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1108:in `verbose' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake/testtask.rb:102:in > `define' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:636:in `call' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:636:in `execute' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:631:in `each' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:631:in `execute' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:597:in > `invoke_with_call_chain' > /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:590:in > `invoke_with_call_chain' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:583:in `invoke' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2047:in > `invoke_task' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2025:in `top_level' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2025:in `each' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2025:in `top_level' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2064:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2019:in `top_level' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1997:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:2064:in > `standard_exception_handling' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/lib/rake.rb:1994:in `run' > /usr/lib/ruby/gems/1.8/gems/rake-0.8.5/bin/rake:31 > /usr/bin/rake:19:in `load' > /usr/bin/rake:19 > > > Do I have to do something about it or it is normal? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to communityengine@googlegroups.com To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---