This project is archived and is in readonly mode.

#4633 ✓resolved
Xavier Noria

backport test fixs related to SQLite from master

Reported by Xavier Noria | May 17th, 2010 @ 11:59 PM | in 2.3.6

At this moment the AR suite of 2-3-stable has a couple of failures:

  1) Failure:
test_should_sum_expression(CalculationsTest)
    [./test/cases/calculations_test.rb:300:in `test_should_sum_expression'
     ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
     ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<"636"> expected but was
<636>.

  2) Failure:
test_cache_does_not_wrap_string_results_in_arrays(QueryCacheTest)
    [./test/cases/query_cache_test.rb:53:in `test_cache_does_not_wrap_string_results_in_arrays'
     ./test/cases/../../lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
     ./test/cases/../../lib/active_record/query_cache.rb:9:in `cache'
     ./test/cases/query_cache_test.rb:52:in `test_cache_does_not_wrap_string_results_in_arrays'
     ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
     ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run']:
<2> expected to be an instance of
<String> but was
<Fixnum>.

Perhaps they would be fixed backporting beda2d43 from master.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>