agaskar.com

Feb 27 2010

authlogic doesn’t seem to like html multipart in tests

      xhr :post, :create, { :item_id => @item.id.to_param, :Filedata => fixture_file_upload('images/sample1.jpg', 'image/jpeg') }, :html => { :multipart => true }
fails
      xhr :post, :create, { :item_id => @item.id.to_param, :Filedata => fixture_file_upload('images/sample1.jpg', 'image/jpeg') }
succeeds.

not going to track this one down, because my test was green without it. Maybe this is blowing away some important headers? …

Comments (View)
Page 1 of 1
blog comments powered by Disqus