diff --git a/spec/app/app/models/post.rb b/spec/app/app/models/post.rb index 012bf50..a82e169 100644 --- a/spec/app/app/models/post.rb +++ b/spec/app/app/models/post.rb @@ -1,5 +1,5 @@ class Post < ApplicationRecord belongs_to :user - enum category: { news: 1, article: 2, blog: 3 } + enum category: {news: 1, article: 2, blog: 3} end