Hi,
On one of my dev servers insoshi works well (rake spec show no
errors), I installed all the ruby/rails stuff on my second dev server
and insoshi rake spec fails!

To my both platform are similar. I checked the installer packages and
gem. The failing server has "all" the one used on the fine one.
NB: New repository as well the copy of the fine one fails the same
way.

It's sure there must be a ugly difference between the platforms, but I
don't know where to look else anymore.

At the bottom of this message are the test results, can somebody maybe
give me a hint where to look ?

Cheers,
E


##############################

[EMAIL PROTECTED]:~/rails/insoshi$ cat Rakefile
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically
be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'
[EMAIL PROTECTED]:~/rails/insoshi$ rake spec
(in /home/ber/rails/insoshi)
.........................................F........F..FFFF.FF................F......FF....F..F....F.......F.........................F.............F........F.................FF....F...................................F........................

1)
'Person attributes requires password' FAILED
expected not nil, got nil
./spec/models/person_spec.rb:16:

2)
NoMethodError in 'BlogPostComment should require a body'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.empty?
./spec/models/blog_post_comment_spec.rb:19:

3)
ActiveRecord::RecordNotFound in 'Message should mark messages as read'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/models/message.rb:119:in `mark_as_read'
./spec/models/message_spec.rb:81:

4)
ActiveRecord::RecordNotFound in 'Message should not allow anyone but
recipient to reply'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
./spec/models/message_spec.rb:72:

5)
ActiveRecord::RecordNotFound in 'Message should handle replies'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
./spec/models/message_spec.rb:63:

6)
ActiveRecord::RecordNotFound in 'Message should untrash messages'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/models/message.rb:77:in `trash'
./spec/models/message_spec.rb:56:

7)
ActiveRecord::RecordNotFound in 'Message should be able to trash
message as recipient'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/models/message.rb:77:in `trash'
./spec/models/message_spec.rb:43:

8)
ActiveRecord::RecordNotFound in 'Message should be able to trash
messages as sender'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/models/message.rb:77:in `trash'
./spec/models/message_spec.rb:37:

9)
NoMethodError in 'ForumPost should require a body'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.empty?
./spec/models/forum_post_spec.rb:17:

10)
'BlogPost should require a body' FAILED
expected valid? to return false, got true
./spec/models/blog_post_spec.rb:23:

11)
'BlogPost should require a title' FAILED
expected valid? to return false, got true
./spec/models/blog_post_spec.rb:17:

12)
'PersonMailer message notification should have the right sender'
FAILED
expected: "[EMAIL PROTECTED]",
     got: "[EMAIL PROTECTED]" (using ==)
./spec/models/person_mailer_spec.rb:31:

13)
'PersonMailer password reminder should have the right sender' FAILED
expected: "[EMAIL PROTECTED]",
     got: "[EMAIL PROTECTED]" (using ==)
./spec/models/person_mailer_spec.rb:12:

14)
NoMethodError in 'Topic should require a name'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.empty?
./spec/models/topic_spec.rb:17:

15)
NoMethodError in 'WallComment should require a body'
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.empty?
./spec/models/wall_comment_spec.rb:18:

16)
'PeopleController signup requires password on signup' FAILED
expected not nil, got nil
./spec/controllers/people_controller_spec.rb:69:
./spec/controllers/people_controller_spec.rb:67:

17)
'PhotosController when logged in should create photo' FAILED
count should have been changed by 3, but was changed by 1
./spec/controllers/photos_controller_spec.rb:47:

18)
'PostsController blog posts should render the new template on creation
failure' FAILED
expected "blog_new", got nil
./spec/controllers/posts_controller_spec.rb:124:

19)
ActiveRecord::RecordNotFound in 'MessagesController pages should send
a message receipt email'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/controllers/messages_controller.rb:65:in
`create'
/home/ber/rails/insoshi/app/controllers/messages_controller.rb:64:in
`create'
./spec/controllers/messages_controller_spec.rb:77:
./spec/controllers/messages_controller_spec.rb:76:

20)
ActiveRecord::RecordNotFound in 'MessagesController pages should
create a message'
Couldn't find Message with ID='NULL'
/home/ber/rails/insoshi/app/models/message.rb:59:in `parent'
/home/ber/rails/insoshi/app/models/message.rb:98:in `reply?'
/home/ber/rails/insoshi/app/models/message.rb:132:in `set_replied_to'
/home/ber/rails/insoshi/app/controllers/messages_controller.rb:65:in
`create'
/home/ber/rails/insoshi/app/controllers/messages_controller.rb:64:in
`create'
./spec/controllers/messages_controller_spec.rb:69:
./spec/controllers/messages_controller_spec.rb:68:

21)
ActionView::TemplateError in 'MessagesController pages should have a
working new page'
Couldn't find Message with ID='NULL'
On line #23 of messages/new.html.erb

    20:                   :url => person_messages_path(@recipient)) do
|f| %>
    21:             Subject: <%= f.text_field :subject %>
    22:             <%= f.text_area :content %>
    23:             <%- if @message.reply? -%>
    24:               <%= f.hidden_field :parent_id %>
    25:               <%= set_focus_to_id "message_content" %>
    26:             <%- else -%>

    vendor/rails/activerecord/lib/active_record/base.rb:1267:in
`find_one'
    vendor/rails/activerecord/lib/active_record/base.rb:1250:in
`find_from_ids'
    vendor/rails/activerecord/lib/active_record/base.rb:504:in `find'
    app/models/message.rb:59:in `parent'
    app/models/message.rb:98:in `reply?'
    app/views/messages/new.html.erb:23:in
`_run_erb_47app47views47messages47new46html46erb'
    vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:
248:in `fields_for'
    vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:
184:in `form_for'
    app/views/messages/new.html.erb:19:in
`_run_erb_47app47views47messages47new46html46erb'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:
142:in `call'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:
142:in `capture_erb_with_buffer'
    vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb:
44:in `capture'
    app/helpers/application_helper.rb:79:in `column_div'
    app/views/messages/new.html.erb:3:in
`_run_erb_47app47views47messages47new46html46erb'
    vendor/rails/actionpack/lib/action_view/base.rb:637:in `send'
    vendor/rails/actionpack/lib/action_view/base.rb:637:in
`compile_and_render_template'
    vendor/plugins/markaby/lib/markaby/rails.rb:8:in `render_template'
    vendor/rails/actionpack/lib/action_view/base.rb:316:in
`render_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:1100:in
`render_for_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:858:in
`render_with_no_layout'
    vendor/rails/actionpack/lib/action_controller/base.rb:872:in
`render_with_no_layout'
    vendor/rails/actionpack/lib/action_controller/layout.rb:262:in
`render_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
51:in `render'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
51:in `render'
    vendor/plugins/rspec_on_rails/lib/spec/rails/example/
controller_example_group.rb:189:in `render'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
131:in `send'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
131:in `custom'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
152:in `call'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
152:in `respond'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
150:in `each'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
150:in `respond'
    vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
107:in `respond_to'
    app/controllers/messages_controller.rb:43:in `new'
    vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`send'
    vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`perform_action_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:697:in
`call_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:689:in
`perform_action_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:
68:in `perform_action_without_rescue'
    vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in
`perform_action_without_caching'
    vendor/rails/actionpack/lib/action_controller/caching.rb:678:in
`perform_action'
    vendor/rails/activerecord/lib/active_record/connection_adapters/
abstract/query_cache.rb:33:in `cache'
    vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache'
    vendor/rails/actionpack/lib/action_controller/caching.rb:677:in
`perform_action'
    vendor/rails/actionpack/lib/action_controller/base.rb:524:in
`send'
    vendor/rails/actionpack/lib/action_controller/base.rb:524:in
`process_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:685:in
`process_without_session_management_support'
    vendor/rails/actionpack/lib/action_controller/
session_management.rb:123:in `process_without_test'
    vendor/rails/actionpack/lib/action_controller/test_process.rb:
15:in `process'
    vendor/rails/actionpack/lib/action_controller/test_process.rb:
393:in `process'
    vendor/rails/actionpack/lib/action_controller/test_process.rb:
364:in `get'
    spec/controllers/messages_controller_spec.rb:36
    vendor/plugins/rspec/lib/spec/example/example_methods.rb:78:in
`instance_eval'
    vendor/plugins/rspec/lib/spec/example/example_methods.rb:78:in
`run_with_description_capturing'
    vendor/plugins/rspec/lib/spec/example/example_methods.rb:19:in
`execute'
    /usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
    vendor/plugins/rspec/lib/spec/example/example_methods.rb:16:in
`execute'
    vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:
292:in `execute_examples'
    vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:
291:in `each'
    vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:
291:in `execute_examples'
    vendor/plugins/rspec/lib/spec/example/example_group_methods.rb:
121:in `run'
    vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:22:in
`run'
    vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in
`each'
    vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb:21:in
`run'
    vendor/plugins/rspec/lib/spec/runner/options.rb:90:in
`run_examples'
    vendor/plugins/rspec/lib/spec/runner/command_line.rb:19:in `run'
    vendor/plugins/rspec/bin/spec:4

22)
'CommentsController blog comments should render the new template on
creation failure' FAILED
expected "blog_post_new", got nil
./spec/controllers/comments_controller_spec.rb:41:

Finished in 22.80352 seconds

239 examples, 22 failures
rake aborted!
Command ruby -I"/home/ber/rails/insoshi/vendor/plugins/rspec/lib" "/
home/ber/rails/insoshi/vendor/plugins/rspec/bin/spec" "spec/views/
layouts/application.html.erb_spec.rb" "spec/helpers/
activities_helper_spec.rb" "spec/helpers/posts_helper_spec.rb" "spec/
helpers/display_helper_spec.rb" "spec/helpers/searches_helper_spec.rb"
"spec/helpers/forums_helper_spec.rb" "spec/helpers/
topics_helper_spec.rb" "spec/helpers/communications_helper_spec.rb"
"spec/helpers/connections_helper_spec.rb" "spec/helpers/
comments_helper_spec.rb" "spec/controllers/
password_reminders_controller_spec.rb" "spec/controllers/
comments_controller_spec.rb" "spec/controllers/
sessions_controller_spec.rb" "spec/controllers/
topics_controller_spec.rb" "spec/controllers/
connections_controller_spec.rb" "spec/controllers/
activities_controller_spec.rb" "spec/controllers/
forums_controller_spec.rb" "spec/controllers/
messages_controller_spec.rb" "spec/controllers/
posts_controller_spec.rb" "spec/controllers/photos_controller_spec.rb"
"spec/controllers/people_controller_spec.rb" "spec/controllers/
searches_controller_spec.rb" "spec/controllers/admin/
forums_controller_spec.rb" "spec/controllers/admin/
people_controller_spec.rb" "spec/models/feed_spec.rb" "spec/models/
wall_comment_spec.rb" "spec/models/activity_spec.rb" "spec/models/
topic_spec.rb" "spec/models/person_mailer_spec.rb" "spec/models/
blog_post_spec.rb" "spec/models/forum_post_spec.rb" "spec/models/
connection_spec.rb" "spec/models/message_spec.rb" "spec/models/
blog_spec.rb" "spec/models/blog_post_comment_spec.rb" "spec/models/
forum_spec.rb" "spec/models/person_spec.rb" "spec/models/
photo_spec.rb" --options "/home/ber/rails/insoshi/spec/spec.opts"
failed

(See full trace by running task with --trace)
[EMAIL PROTECTED]:~/rails/insoshi$

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to