# Unit testing

**URL:** <https://www.ruby-forum.com/t/unit-testing/106080>\
**Category:** Rails\
**Created:** [June 6, 2007, 7:38am UTC](https://www.ruby-forum.com/t/unit-testing/106080 "2007-06-06T07:38:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalaivani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/4da419/32.png) [@kalaivani](https://www.ruby-forum.com/u/kalaivani)\
**Post date:** [June 6, 2007, 7:38am UTC](https://www.ruby-forum.com/t/unit-testing/106080/1 "2007-06-06T07:38:07Z")

</div>

hi,

i have a doubt in unit testing.

How can check my table ,its have all the fields …like that.

for ex.

Initially i have four fields …  
it works  
if suppose  
i am adding another two fields in my form but i amn’t mention in  
the database.

if i am verified that (model)in unit testing … i have to check…  
that extra fields there or not.

how to check that

pls help me
