refactor post_spec.rb

used shorter syntax for should respond_to