diff options
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/xml_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/xml_test.rb b/activerecord/test/cases/adapters/postgresql/xml_test.rb index 974fbabd58..bf14b378d8 100644 --- a/activerecord/test/cases/adapters/postgresql/xml_test.rb +++ b/activerecord/test/cases/adapters/postgresql/xml_test.rb @@ -33,7 +33,6 @@ class PostgresqlXMLTest < ActiveRecord::TestCase def test_null_xml @connection.execute %q|insert into xml_data_type (payload) VALUES(null)| - x = XmlDataType.first - assert_equal(nil, x.payload) + assert_nil XmlDataType.first.payload end end |