I had a similar experience and added html_options = {} to
date_select(object_name, method, options = {}) and
datetime_select(object_name, method, options = {}) on lines 81 and 94
in ../community_engine/engine_plugins/globalite/lib/rails/
localized_action_view.rb.

After that the tests passed, but I'm still getting lots of during the
test run:
DEPRECATION WARNING: Inflector is deprecated! Use
ActiveSupport::Inflector instead.  See http://www.rubyonrails.org/deprecation
for details. (called from pluralize at /Users/a5sk4s/Development/rails/
AKSoNet/vendor/plugins/community_engine/engine_plugins/globalite/lib/
globalite/l10n.rb:207)

On Oct 20, 8:57 am, Hatem <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have installed and run the application successfully with Rails 2.1.0
> on Windows and everything works fine. But when run rake
> community_engine:test, I get 4 errors related to clipping:
>
> 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
>
> Any ideas?
> Thanks for help.

--~--~---------~--~----~------------~-------~--~----~
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