flushed out the rspec tests for PostsController