oops did not save the pending

This commit is contained in:
zhitomirskiyi 2010-11-03 16:43:10 -07:00
parent 8246882067
commit 6a6cedbc62

View file

@ -36,6 +36,7 @@ describe PhotosController do
@controller.stub!(:file_handler).and_return(image)
end
it 'can make a photo in an album' do
pending
proc{ post :create, :photo => foo, :qqfile => fixture_name }.should change(Photo, :count).by(1)
end