diff options
author | Chad Woolley <thewoolleyman@gmail.com> | 2009-09-29 02:28:07 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-01-12 11:01:49 -0800 |
commit | b9a7ec6db50722e892145110c8527bca81c08041 (patch) | |
tree | ca5f6e90078b4fd3cffefd3cef5eb5aa0dbbcfda /activerecord/test/cases | |
parent | 006519d2c9f142837f3b43882bcd243caa7ccdb9 (diff) | |
download | rails-b9a7ec6db50722e892145110c8527bca81c08041.tar.gz rails-b9a7ec6db50722e892145110c8527bca81c08041.tar.bz2 rails-b9a7ec6db50722e892145110c8527bca81c08041.zip |
reduce max size of fixture IDs to fix sqlite2 tests, because sqlite2 was getting negative and changing values for ID field. See http://www.sqlite.org/datatypes.html
Signed-off-by: Yehuda Katz <wycats@gmail.com>
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/fixtures_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/fixtures_test.rb b/activerecord/test/cases/fixtures_test.rb index eb3f03c91d..f965652a9a 100644 --- a/activerecord/test/cases/fixtures_test.rb +++ b/activerecord/test/cases/fixtures_test.rb @@ -519,8 +519,8 @@ class FoxyFixturesTest < ActiveRecord::TestCase end def test_identifies_consistently - assert_equal 1281023246, Fixtures.identify(:ruby) - assert_equal 2140105598, Fixtures.identify(:sapphire_2) + assert_equal 207281424, Fixtures.identify(:ruby) + assert_equal 1066363776, Fixtures.identify(:sapphire_2) end TIMESTAMP_COLUMNS = %w(created_at created_on updated_at updated_on) |