diff --git a/spec/controllers/photos_controller_spec.rb b/spec/controllers/photos_controller_spec.rb index 0908a7cce..bc795ad77 100644 --- a/spec/controllers/photos_controller_spec.rb +++ b/spec/controllers/photos_controller_spec.rb @@ -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