require 'rails_helper' module CustomerVault RSpec.describe Individual, :type => :model do it 'should have a valid factory' do individual = FactoryGirl.build(:customer_vault_individual) expect(individual).to be_valid end it { should validate_presence_of :first_name } it { should validate_presence_of :last_name } it { should have_one :address } end end