Correction!

The errors were different:

  1) Error:
test_should_fail_to_update_contest(ContestsControllerTest):
ActionView::TemplateError: wrong number of arguments (4 for 3)
    On line #18 of contests/edit.rhtml

    15:                                 <p><%= f.text_field :banner_subtitle 
%></p>
    16:
    17:                                 Begin (required):
    18:                                 <p><%= f.date_select :begin %></p>
    19:
    20:                                 End (required):
    21:                                 <p><%= f.date_select :end %></p>

My previous post was fixing the date_select error, not the clipping
one mentioned in the first post.

On Oct 25, 2:32 pm, moritz <[EMAIL PROTECTED]> wrote:
> 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.  Seehttp://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