Could anyone please explain what this test code does? :
assert_difference(\'Post.count\') do post :create, :post => { :title => \'Hi\', :body => \'T
This is just checking to make sure that the number of objects for whatever type was specified has increased by 1. (It is an easy way to check to see that an object was added to the DB)