Displaying 1 result from an estimated 1 matches for "primary_image".
2006 Jan 12
0
Testing ''create'' from multipart/form-data submission
...e 
on my filesystem and have it populate the db correctly...any idea what 
the syntax for posting a form this way is?? (current code below)
  def test_create
    num_images = Image.count
    post(:create,
    	{:image => {
             ''item_id'' => 203,
    	     ''primary_image'' => 0,
             ''data_orig'' => ''01010101'',
    	     ''data_medium'' => ''01010101'',
    	     ''data_thumb'' => ''01010101'',
    	     ''content_type'' =&g...