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

14 lines
229 B
Ruby
Raw Normal View History

2018-11-29 15:57:57 -05:00
# frozen_string_literal: true
require 'rails_helper'
2018-11-30 02:00:03 -05:00
RSpec.describe User do
2018-11-29 15:57:57 -05:00
subject { create :user }
2018-11-29 18:26:48 -05:00
2018-11-30 03:28:40 -05:00
it do
is_expected.to \
have_many(:passport_confirmations)
.dependent(:restrict_with_exception)
end
2018-11-29 15:57:57 -05:00
end