updated posts_controller_spec.rb to fix create method issue