Fix merge error from message - text refactor

This commit is contained in:
Raphael Sofaer 2011-03-14 11:48:26 -07:00
parent 3c1b5a10df
commit 2cd6e89e5c

View file

@ -138,7 +138,7 @@ describe PhotosController do
describe "#update" do
it "updates the caption of a photo" do
put :update, :id => @alices_photo.id, :photo => { :text => "now with lasers!" }
@alices_photo.reload.caption.should == "now with lasers!"
@alices_photo.reload.text.should == "now with lasers!"
end
it "doesn't overwrite random attributes" do