diff options
author | kennyj <kennyj@gmail.com> | 2013-04-16 03:02:06 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-04-16 03:17:07 +0900 |
commit | 0141dd37be1bbca8f3f08f8e3602a2530ed76239 (patch) | |
tree | 1a4e98ba03ac8b15675201fbfebff7115571704e /activerecord/test/cases | |
parent | 9f290e6e677575012c4d00bc698e723a134478f6 (diff) | |
download | rails-0141dd37be1bbca8f3f08f8e3602a2530ed76239.tar.gz rails-0141dd37be1bbca8f3f08f8e3602a2530ed76239.tar.bz2 rails-0141dd37be1bbca8f3f08f8e3602a2530ed76239.zip |
Revert "fixing bit string test"
This reverts commit cdd293cb963b895ff580eb20d10f5d56ecb3d447.
Reason: This wasn't properly fix.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/datatype_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/datatype_test.rb b/activerecord/test/cases/adapters/postgresql/datatype_test.rb index 1e6ae85a25..13731beb01 100644 --- a/activerecord/test/cases/adapters/postgresql/datatype_test.rb +++ b/activerecord/test/cases/adapters/postgresql/datatype_test.rb @@ -545,13 +545,13 @@ _SQL def test_update_bit_string new_bit_string = '11111111' - new_bit_string_varying = '11111110' + new_bit_string_varying = 'FF' assert @first_bit_string.bit_string = new_bit_string assert @first_bit_string.bit_string_varying = new_bit_string_varying assert @first_bit_string.save assert @first_bit_string.reload - assert_equal new_bit_string, @first_bit_string.bit_string - assert_equal new_bit_string_varying, @first_bit_string.bit_string_varying + assert_equal @first_bit_string.bit_string, new_bit_string + assert_equal @first_bit_string.bit_string, @first_bit_string.bit_string_varying end def test_update_oid |