Modified the specs for post model