Hi, been meaning to post a follow-up to this closed post:

http://groups.google.com/group/communityengine/browse_thread/thread/95bdaaff24e767d1/fe9670e0b626317f?lnk=gst&q=Test+errors+with+Rails+2.1.0+on+Windows#fe9670e0b626317f

OP says he got these 4 errors when running the CE test on a Windows XP
machine.

1) Error:
test_should_be_created(ClippingImageTest):
ActiveRecord::RecordInvalid: Validation failed: Size is not included
in the list
./vendor/plugins/community_engine/test/unit/clipping_image_test.rb:14

2) Error:
test_should_get_clipping_image(ClippingTest):
ActiveRecord::RecordInvalid: Validation failed: Image is invalid
./vendor/plugins/community_engine/test/unit/clipping_test.rb:38

3) Error:
test_should_create_clipping(ClippingsControllerTest):
ActiveRecord::RecordInvalid: Validation failed: Image is invalid
./vendor/plugins/community_engine/test/functional/
clippings_controller_test.rb:65

4) Error:
test_should_update_clipping(ClippingsControllerTest):
ActiveRecord::RecordInvalid: Validation failed: Image is invalid
./vendor/plugins/community_engine/test/functional/
clippings_controller_test.rb:99

This is a problem with attachment_fu running on Windows. For the tests
to work, min-size needs to be set to 0 in attachment_fu_options under
the clipping section of application.yml. The tests run with zero
errors this way but I'm not sure whether setting min-size to zero will
result in any undesirable effects.

Read more about this problem at:
http://rupakg.wordpress.com/2008/03/13/attachment_fu-size-parameter-on-windows/
and http://hamptoncatlin.com/2007/attachment_fu-gotchas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" 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/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to