Generate rspec test for post model