Fix merge error from message - text refactor
This commit is contained in:
parent
3c1b5a10df
commit
2cd6e89e5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue