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/passport_spec.rb

18 lines
333 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Passport do
subject { create :empty_passport }
it { is_expected.to belong_to(:person).optional }
it do
is_expected.to \
have_many(:passport_maps)
.dependent(:restrict_with_exception)
end
pending '#passport_map'
pending '#image'
end