label 名字修改

This commit is contained in:
yafeilee 2014-03-31 14:12:42 +08:00
parent 80f62e0160
commit 0234b22166
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ describe BlogsController do
b = Comment.new(name: '2',content: 'iloveyou',email: 'liuzhen@.com')
b.post = post
b.save!
label = Label.new(type: '生活')
label = Label.new(name: '生活')
post.labels << label
post.save!
get :show, id: post.id