add spec/models/post_spec.rb with initial test