search for: test_order

Displaying 3 results from an estimated 3 matches for "test_order".

Did you mean: get_order
2006 Jul 23
0
[PATCH] (+tests) with_scope :order doesn''t work with included associations
...noradio''s already had a look at it on IRC. What''s the best way to submit patches while Trac is down?) with_scope doesn''t support :order in the presence of :include. For example: {{{ # We''re testing the interaction between :order, :include, and with_scope. TEST_ORDER = ''tickets.created_at DESC'' TEST_INCLUDE = [''owner''] def test_find(opts1, opts2) Ticket.with_scope(:find => opts1) do Ticket.find(:all, opts2).map {|t| t.id } end end # In these examples, :order is respected. test_find({ :order => TEST_ORDER }...
2008 Jan 22
0
[CruiseControl] RubyOnRails build 8688 failed
The build failed. CHANGES ------- Revision 8688 committed by nzkoz on 2008-01-22 01:29:10 Add options missing from earlier changeset M /trunk/activerecord/lib/active_record/test_case.rb TEST FAILURES AND ERRORS ----------------------- Name: test_ordering(FirstSecondHelperTest) Type: Failure Message: <"first mail"> expected but was <"">. ./test/mail_render_test.rb:114:in `test_ordering'' ./test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__se...
2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
...ivery_via_sendmail'' ./test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `__send__'' ./test/../lib/../../actionpack/lib/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:59:in `run'' Name: test_ordering(FirstSecondHelperTest) Type: Error Message: ActionView::TemplateFinder::InvalidViewPath: Unprocessed view path found in ["./test/fixtures"] ./test/../lib/../../actionpack/lib/action_view/template_finder.rb:156:in `check_view_paths'' ./test/../lib/../../actionpack/lib/a...