Sha256: bfd8b71016b91e49a56610779ff83ba127b9bc1d85fc8df8db016dba491907da
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 1 rubygems