Files
old-holivud2/spec/models/casting_call_interview_spec.rb
2020-07-15 16:35:18 +02:00

14 lines
363 B
Ruby

require 'rails_helper'
RSpec.describe CastingCallInterview, type: :model do
subject { build(:casting_call_interview) }
describe "associations" do
it { is_expected.to belong_to(:casting_call) }
it { is_expected.to have_secure_token(:token) }
end
describe "validations" do
it { is_expected.to validate_presence_of(:performer_name) }
end
end