1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/spec/models/user_spec.rb
2019-03-24 06:42:27 +05:00

11 lines
242 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe User do
subject { create(:usual_account).user }
it { is_expected.to belong_to(:account).required(false) }
it { is_expected.to validate_uniqueness_of :account }
end