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