require "rails_helper" describe Post do describe '.validates' do let(:post) { create(:post) } it 'is valid' do expect(post.valid?).to eq true end end end