Permalink
Browse files

fixing bit string test

  • Loading branch information...
1 parent 17a69c7 commit cdd293cb963b895ff580eb20d10f5d56ecb3d447 @tenderlove tenderlove committed Feb 11, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/adapters/postgresql/datatype_test.rb
@@ -545,13 +545,13 @@ def test_update_network_address
def test_update_bit_string
new_bit_string = '11111111'
- new_bit_string_varying = 'FF'
+ new_bit_string_varying = '11111110'
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 @first_bit_string.bit_string, new_bit_string
- assert_equal @first_bit_string.bit_string, @first_bit_string.bit_string_varying
+ assert_equal new_bit_string, @first_bit_string.bit_string
+ assert_equal new_bit_string_varying, @first_bit_string.bit_string_varying
end
def test_update_oid

0 comments on commit cdd293c

Please sign in to comment.