You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/spec/models/concerns/partnership_validation_spec.rb

16 lines
351 B

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe PartnershipValidation do
# Test with User model since it includes the concern
describe 'validation' do
context 'with account only' do
it 'is valid' do
user = build(:user, account: create(:account))
expect(user).to be_valid
end
end
end
end