refactor post_spec.rb with subject